command-linefedoraxfcerecycle-bin

How to empty trash in fedora xfce command line?


Command like this:

rm -rf ~/.local/share/Trash/*

doesn't remove all files from trash, are there any other path to trash files?

Updated:

simply files from other drive store into other folder.


Solution

  • If files from second drive, trash files store on that drive, for example you can have

    /run/media/<username>/<uuid>/.Trash-1000/files/*
    

    only files deleted from home folder store into:

    ~/.local/share/.Trash

    So it was done to avoid copy files from another driver to local trash.