Skip to content

Estimate the time to completion on a long "empty the trash" operation.

License

Notifications You must be signed in to change notification settings

zimolzak/emptying-trash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emptying the trash

Estimate the time to completion on a long "empty the trash" operation.

I Have a macOS Time Machine backup disk that refused to work on a big backup because it's too full (even though it's set to delete old backups as necessary). So I deleted a bunch of old backup sets from Backups.backupdb, which went fast, as expected. Then I emptied the trash, which is going slowly, as expected. But how slowly?

I'm logging (using watch df -m) how much free space is on my external HDD, as a function of time of day. I want to know when it will get to 250 GB of free space.

Also it's fun to watch the used versus free inodes and to take the log-base-2 of the total inode capacity, but that is kind of out of scope.

About

Estimate the time to completion on a long "empty the trash" operation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published