Skip to content

PHP script to show number of bytes used for files and directories. Great for cleanup on web server when the disk usage is a problem. You can navigate through the file tree and delete a single file or an entire directory.

Notifications You must be signed in to change notification settings

Gitdyr/byteusage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

About

PHP script to show number of bytes used for files and directories. Great for cleanup on web server when the disk usage is a problem. You can navigate through the file tree and delete a single file or an entire directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages