LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Additional .Trash hidden folders
#1
Hi,


I have been doing some clean-up on 1 off my installs, HP Laptop.
I use this a lot to test/experiment before committing to a live PC.


I have found a bunch of .trash folders on different partitions, with large amount files.
I have different partitions to make it easier to include/exclude things from back-ups.
(ex: I have a partition called "vbox", keep all Virtual Machines separate from regular back-ups)


Doing some Googling led me to:
1. If you delete a file in your /home folder they end up in rubbish bin, so you can empty them manually, unless you do a [shift]+[delete]
2. If you delete a file on something "not" in home, a "hidden" .trash folder is created with the deleted files, unless you do a [shift]+[delete]


What I couldn't find was a definitive,
"Can I delete these non /home .trash folders manually, or is there a specific method to not mess up the file system"


Thanks...
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#2
Well I found the answer, yes.
Also to make it easier there is a command line utility to find them "all" , trash-cli



Code:
sudo apt-get install trash-cli


then with a:
Code:
trash-empty


Removed: 687 files @ 5.85GB

Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#3
Thanks for sharing, Wirezfree. Highly appreciated.
Will come in handy Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)