Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 29, 2007, 04:12 PM   #1
silversalmon
macrumors newbie
 
Join Date: Jan 2007
Trash directory location in HD

I'm trying to locate the location of .trash folder in the hard drive directory. I'm hoping to be able to find a trash folder in the directory so that I can direct downloads from e-mails, Safari, and Firefox to go into the trash automatically after viewing the files, instead of ending up on the desktop. Is there any way that can be done?
silversalmon is offline   0 Reply With Quote
Old Jan 29, 2007, 04:20 PM   #2
lancestraz
macrumors 6502a
 
lancestraz's Avatar
 
Join Date: Nov 2005
Location: RI
"Macintosh HD>Users>your username>.Trash"
lancestraz is offline   0 Reply With Quote
Old Jan 30, 2007, 12:45 AM   #3
silversalmon
Thread Starter
macrumors newbie
 
Join Date: Jan 2007
Ok, I followed the directory path you suggested, went into the your username directory and could not find a folder called .trash. There were other folders there, such as Desktop, Music, Sites, etc. but no sign of .trash. I've used Spotlight and Finder and keep getting the folder called .trash, but no information about where exactly it is located. I would like to simply direct all e-mail attachment, video, etc. downloads to the trash folder so that I can just empty the trash when done viewing rather than having the files end up on the desktop. Is this possible to do? Thanks!
silversalmon is offline   0 Reply With Quote
Old Jan 30, 2007, 12:46 AM   #4
Nermal
Moderator
 
Nermal's Avatar
 
Join Date: Dec 2002
Location: Whakatane, New Zealand
The . indicates that the folder is hidden. You'll need to use Terminal or Go To Folder.
Nermal is offline   0 Reply With Quote
Old Jan 30, 2007, 01:14 PM   #5
silversalmon
Thread Starter
macrumors newbie
 
Join Date: Jan 2007
Thanks - I'm new to the imac and am not familiar with Terminal or Go to Folder. Will these work when you are trying to set up Safari and Firefox to designate where the downloads should go? From what I have experienced so far, you are using the basic HD directory in Preferences for Safari and Firefox, and I suspect that I won't be able to find or designate the .trash folder as a download location. Any ideas? Thanks again.
silversalmon is offline   0 Reply With Quote
Old Jan 30, 2007, 01:35 PM   #6
smueboy
macrumors 6502a
 
smueboy's Avatar
 
Join Date: Oct 2006
Location: Oz
Whether it is possible to direct files into the trash i have no idea, but once they are in the Trash you cannot open them, so what would be the use?
__________________
15" MBP 2.33 C2D; 15" MBP 3.06 C2D; Mini 2.66 C2D; Mac Pro 2x 2.93 Xeon
Those are my principles, and if you don't like them.... well, i have others.
smueboy is offline   0 Reply With Quote
Old Jan 30, 2007, 02:20 PM   #7
silversalmon
Thread Starter
macrumors newbie
 
Join Date: Jan 2007
Perhaps you are right - I was thinking that when you download an attached document, video etc from e-mail or view a video from a website that it would open regardless of the folder where the download is directed. I do have a Internet Downloads file I created where the files now download just fine, instead of to the desktop. However, when the file download location was the desktop, the files would open automatically after they were done downloading. With the current setup, the files download but then I have to click Open in the Firefox download window or click on the file icon in the Safari download window to get the files to open. Is there some way of getting the files to open automatically? Thanks!
silversalmon is offline   0 Reply With Quote
Old Jan 30, 2007, 02:34 PM   #8
smueboy
macrumors 6502a
 
smueboy's Avatar
 
Join Date: Oct 2006
Location: Oz
Is the 'open safe files after downloading' option in Safari preferences checked? That can be one problem, however, only certain files open automatically, while others (such as pdf's) do not. Those that don't, i just open them from the download list.
__________________
15" MBP 2.33 C2D; 15" MBP 3.06 C2D; Mini 2.66 C2D; Mac Pro 2x 2.93 Xeon
Those are my principles, and if you don't like them.... well, i have others.
smueboy is offline   0 Reply With Quote
Old Jan 30, 2007, 02:49 PM   #9
silversalmon
Thread Starter
macrumors newbie
 
Join Date: Jan 2007
I can't check the setting now because I'm at work but I'll take a look this evening. I'm pretty sure I recall seeing that option checked though. Seems kind of strange that the files would open automatically when the download location was the desktop but won't now that the directory location is different. Thanks for the suggestion.
silversalmon is offline   0 Reply With Quote
Old Sep 24, 2012, 10:02 AM   #10
Rose Bay
macrumors newbie
 
Join Date: Sep 2012
Trash Folder

Click on the trash icon to access the trash folder
Rose Bay is offline   0 Reply With Quote
Old Jun 21, 2013, 03:15 PM   #11
nazzyshome
macrumors newbie
 
Join Date: Jun 2013
Alternatively you can navigate to the trash folder.

it is in your user directory, it is just hidden. So from your user directory,
cd .Trash

Then do rm -r *
followd by rm *

if you are new to terminal, a directory is a folder and the star is a wildcard which selects everything that matches (in this case everything matches cause it is blank). The -r is required to remove recursive (directories).

This way, you don't have to log in and out!
nazzyshome is offline   0 Reply With Quote
Old Aug 18, 2013, 11:46 PM   #12
thamestoronto
macrumors newbie
 
Join Date: Aug 2013
Help me

HELP
I typed in the commands you listed at the terminal prompt without navigating to the trash folder (my mistake) , and now I can't see any files on my system using the finder,fix this ????? Example: new files I save from the browser to various folders no longer show up, I don't care about old lost files as I have most things backed up but now being unable to save anything new is a problem.
Quote:
Originally Posted by nazzyshome View Post
Alternatively you can navigate to the trash folder.

it is in your user directory, it is just hidden. So from your user directory,
cd .Trash

Then do rm -r *
followd by rm *

if you are new to terminal, a directory is a folder and the star is a wildcard which selects everything that matches (in this case everything matches cause it is blank). The -r is required to remove recursive (directories).

This way, you don't have to log in and out!

Last edited by thamestoronto; Aug 18, 2013 at 11:57 PM.
thamestoronto is offline   0 Reply With Quote
Old Aug 19, 2013, 12:47 PM   #13
Weaselboy
Moderator
 
Weaselboy's Avatar
 
Join Date: Jan 2005
Location: California
Quote:
Originally Posted by thamestoronto View Post
HELP
I typed in the commands you listed at the terminal prompt without navigating to the trash folder (my mistake) , and now I can't see any files on my system using the finder,fix this ????? Example: new files I save from the browser to various folders no longer show up, I don't care about old lost files as I have most things backed up but now being unable to save anything new is a problem.
If you started Terminal and ran that rm command you have just deleted everything in your users folder. If you have a TM backup, at this point the best thing to do is use it to do a complete restore.
Weaselboy is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Batch "Put Back" files from Trash to original location jozeppy26 OS X 10.8 Mountain Lion 6 Apr 24, 2014 12:26 PM
copy a directory using bash - how to do it? error: is a directory (not copied). cupboy1 OS X 10.8 Mountain Lion 0 Mar 23, 2014 10:50 PM
Trash from other systems appearing in Mavericks trash danqi OS X Mavericks (10.9) 4 Feb 13, 2014 06:27 AM
Possible to change location of trash folder? eoren1 Mac Basics and Help 1 Feb 13, 2013 12:05 PM
Change location default home directory mattiasvdm OS X 10.8 Mountain Lion 2 Oct 11, 2012 11:08 AM

Forum Jump

All times are GMT -5. The time now is 12:31 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC