Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 622 Bytes

File metadata and controls

12 lines (7 loc) · 622 Bytes

byteusage

Show number of bytes used for files and directories

Notice that the actual disk usage is not the same as the bytes used. You can use this script to cleanup your web server.

A single PHP file to put on your server. The script calculates the number of bytes, directories and files. You can delete a single file or a directory with all its contents.

You can set the home directory of the script by changing the array $homeDirs. This is the directory the script will initially display.

Only files listed as $homeDirs can be listed or be deleted.

List of files with byteusage