Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 367
  • Last Modified:

In Mac OSX, when a file is trashed from an external hard drive is that file copied to the main HD

I am running Mac OSX and want to know when a file is trashed from an external hard drive is that file copied to the main HD when put into trash. Does it just show the file in the main HDD's trash can just so you know that its in the trash can or is it literally on the main HDD?
0
starscream45
Asked:
starscream45
1 Solution
 
icemanwolCommented:
It is kept in a hidden folder on the externel drive called .trash which acts like a normal folder if you were to go into it.  If you open a consol windows, you can get to it by going cd /root_dir_of_externel_HDD/.trash (depending on the comp/system they may be in a diffent dir too because of diffent users)
When you "empty" the trash, the macOS is just deleting (RM) all files in all root/user direcories in .trash.  The OS never moves the files to the main drive.  The trash bin on the desktop is just a representation of all the files on all the drives in all the .trash folders.
For a longer explination, see this page
http://www.thexlab.com/faqs/trash.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now