0

When I delete files on any given file system like hard drives that I have mounted to my system or USB stick I get a directory that usualy named '.Trash-1000'. How does that directory work? Do I need to manually delete the .Trash-1000 directory because it might remain taking up storage or does it Linux overwrite anything that's place in that directory? Thanks.

2
Contributors
1
Reply
12
Views
2 Years
Discussion Span
Last Post by rubberman
1

By default, deleting files on Linux systems will put the file/directory into the trash folder (works that way on Windows also). If you empty the trash folder, the files in that directory will be physically deleted. The reason for putting them there is that if you realize you didn't want to delete a file, you can recover it from there. Usually, the trash folder has a file number or size limit. When you exceed those settings, then the oldest files will be deleted first.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.