How to Restore or Delete Files from a Flash Drive's Hidden "Trash" Folder

These steps should work from a computer that is running Mac OSX Ubuntu Linux, Fedora, or a similar distribution.,Open the terminal ,Type "cd /media" in Linux or "cd /volumes" in MacOS X (leave out the quotes here and in the other steps) ,Type "ls"...

11 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: These steps should work from a computer that is running Mac OSX Ubuntu Linux

    Slightly adapted instructions should work for other Linux distributions, and maybe even within the Cygwin application on windows.

    All terminal commands should be followed by pressing "enter"
  2. Step 2: Fedora

    ,,,, You may want to look inside all of the folders that are hidden (that is, all folders whose names start with a "." period) ,, you can move all of the files out of the hidden folder by doing "mv * ../" (move all files to parent directory) or do it one by one by typing "mv name-of-file ../"
  3. Step 3: or a similar distribution.

  4. Step 4: Open the terminal

  5. Step 5: Type "cd /media" in Linux or "cd /volumes" in MacOS X (leave out the quotes here and in the other steps)

  6. Step 6: Type "ls" (that's a lowercase L) and look for the name of your flash drive

  7. Step 7: Type "cd name_of_flash_drive" (replace "name_of_flash_drive" with the actual name your computer gave to your flash drive)

  8. Step 8: Type "ls -a" (don't forget the space followed by a dash) and look for a folder like ".trash" or ".trashes".

  9. Step 9: Type "cd name_of_folder" replacing name_of_folder with the appropriate name

  10. Step 10: When inside of the hidden folder

  11. Step 11: type "ls -a" to see what's there.

Detailed Guide

Slightly adapted instructions should work for other Linux distributions, and maybe even within the Cygwin application on windows.

All terminal commands should be followed by pressing "enter"

,,,, You may want to look inside all of the folders that are hidden (that is, all folders whose names start with a "." period) ,, you can move all of the files out of the hidden folder by doing "mv * ../" (move all files to parent directory) or do it one by one by typing "mv name-of-file ../"

About the Author

M

Mary Brown

Enthusiastic about teaching cooking techniques through clear, step-by-step guides.

40 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: