How do I recover external drive folders put in the trash using another comp

Using a different computer than my own, I moved folders from an external firewire disk to the trash - but did not empty the trash. I'm now using the external disk with my own computer and would like to permanently delete those files (e.g. empty the trash). However, I cannot view those folders in the trash on my own computer. It is not convenient for me to take my external drive back to the other computer. Without being able to empty those folders from the trash, I cannot recover that space (40Gig) occupied by those folder on the external hard drive.
Is there a way to "empty trash" those files so that I can recover that disk space.
Powerbook G4   Mac OS X (10.4.6)  
Powerbook G4   Mac OS X (10.4.6)  

Hi, barleycor. Welcome to the Discussions.
Here are the detailed instructions you need to remove the files trashed when the FireWire drive was connected to another computer.
The Trash on a FireWire drive is actually in a series of folders within the hidden and invisible directory:
/Volumes/partition_name/.Trashes
where partition_name is the name of the partition or volume on the FireWire drive on which the files were trashed. If the FireWire drive is a single partition, then partition_name is the same as the name of the FireWire drive.
Within that directory is a subdirectory for each user on that trashed files while using the FireWire drive. Each user-specific subdirectory's name is the NetInfo uid (user ID) number of the user.
We will use Terminal (located in your Macintosh HD > Applications > Utilities folder) to find the files and empty the Trash.
First, Launch Terminal by double-clicking its icon in your Macintosh HD > Applications > Utilities folder.
We can see all of the Trash-related subdirectories on the FireWire partition in question, including their contents, using the following Terminal command:
sudo -alhR "/Volumes/partition_name/.Trashes"
It must be typed exactly as written after the Terminal prompt (% in the following examples), save you must substitute the correct value for partition_name in the command. Note that Terminal commands are case-sensitive.
After typing the command, again substituting the correct value for partition_name, you press Return and type your Admin password when prompted. You should see a listing like the following when I look at the .Trashes folder on the Spare partition of one of my FireWire drives:
% sudo ls -alhR "/Volumes/Spare/.Trashes"
Password:
total 0
d-wx-wx-wx 3 unknown unknown 102B Apr 22 05:25 .
drwxrwxrwx 31 unknown unknown 1K Apr 25 04:02 ..
drwx------ 4 unknown unknown 136B Apr 25 04:02 501
/Volumes/Spare/.Trashes/501:
total 33664
drwx------ 4 unknown unknown 136B Apr 25 04:02 .
d-wx-wx-wx 3 unknown unknown 102B Apr 22 05:25 ..
-rw------- 1 unknown unknown 6K Apr 25 04:01 .DS_Store
-rw-r--r-- 1 unknown unknown 16M Nov 14 15:44 Test.fp7
The first line highlighted in yellow above is the only user-specific subdirectory within the /Volumes/partition_name/.Trashes directory. That subdirectory's name is 501 .
The block of lines highlighted in yellow lists the contents of the Trash on that FireWire volume for the user whose NetInfo uid is 501, generally the first user defined on the Mac. We can see that this directory contains the file
Test.fp7
that I moved to the Trash on that volume (it's shown in the last line in the block of yellow lines above).
You would use the same process to find the 5xx directory containing the files you moved to the Trash when the FireWire drive was connected to a different computer.
To empty the Trash for the user whose NetInfo uid is 501 on the Spare volume, I would type the following command:
sudo rm -ri "/Volumes/Spare/.Trashes/501/"
press Return, then type my Admin password if prompted. This would then prompt me to confirm if I wanted to remove every file in the 501 trash subdirectory including the subdirectory itself. I would respond y for "yes" to every question except the last, to which I would respond n for "no." Here's what that looks like in Terminal:
% sudo rm -ri "/Volumes/Spare/.Trashes/501/"
Password:
examine files in directory /Volumes/Spare/.Trashes/501/? y
remove /Volumes/Spare/.Trashes/501//.DS_Store? y
remove /Volumes/Spare/.Trashes/501//Test.fp7? y
remove /Volumes/Spare/.Trashes/501/? n
I've highlighted my y and n responses in green and red, respectively, so you can distinguish them from the prompts. I respond n to the last question as I want to keep the 501 subdirectory.
So, once you've found the 5xx subdirectory containing the files you trashed when the FireWire drive was connected to the other computer, you'd use the command:
sudo rm -ri "/Volumes/partition_name/.Trashes/5xx/"
substituting the correct values for partition_name and 5xx, and typing y for "yes" in response to each prompt except the last prompt, e.g.
remove /Volumes/partition_name/.Trashes/5xx/?
to which you would respond n for "no." The files trashed when the FireWire drive was connected to the other Mac are now gone from the FireWire drive.
When completed, you end your Terminal session as follows:
1. At the Terminal prompt, type: exit
2. Press Return.
3. Quit (Command-Q) Terminal.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X

Similar Messages

  • How do you recover files that were put in the trash before you emptied your trash?

    Before realizing that I had saved my research paper under downloads rather than documents, I put all my downloaded files in the trash and emptied my trash. How can I recover this file? I appreciate all the help I can get! I have spent the last five hours editing this paper :/

    Try using a data recovery product such as the ones listed here. Don't write anything else to the drive until the file is recovered or you choose not to recover it.
    (117186)

  • How can i RECOVER a time machine file from  the trash

    I hope someone can help me... I have spent hours and hours reading forums but none that have addressed my problem.
    My daughter gave me her old backup drive.  She also has a MAC so she had Time Machine backups on the drive already.  I started backing up onto this drive about a year ago.  Backups have been done now for a year or so.  Last night I got the message that I was running out of space so I looked at the drive and realized that her backups were still on the drive so I moved them into the trash.  Then Time Machine wouldn't work anymore and I realized that not only did her backups get moved but all of mine did as well.  I need the backups because after I upgraded to Mavericks many of my photos dissappeared from iPhoto.  These are photos that I can't recreate - I sell jewelry and take pictures before I send the piece out.  Everything is one-of-a-kind so it's very important for me to get these back.  I realize now that I never should have moved the backups into the trash as I will have a problem deleting it once I separate her backups from mine but I will deal with that after I figure out this problem.
    Is there anything I can do to move the backups back from out of the trash and into Time Machine again? (BTW - I don't know which version of Mavericks I have - I have done all available updates so I assume it is 10.9.3)

    As long as you don't delete the trash, the files should be recoverable.
    I suspect using the Put Back command could take a long time, so be patient.
    If your Time Machine backups are mixed with your daughter's backups you might want to buy a larger drive and move the Time Machine files to the new drive.
    Regarding missing photos in iPhoto...There might be options to rebuild/recover that data from iPhoto rather than trying to revert to a Time Machine backup.
    Check out this third party app, iPhoto Library Manager. It has a demo.
    http://www.fatcatsoftware.com/iplm/
    Options for a larger drive.
    I like the Seagate USB 3.0 Backup plus drives. Works on USB 2.0 ports. They come formatted for PC but easy to format in Disk Utility.
    I don't recommend Western Digital because of the boot problem with some of their drives.
    LaCie makes good drives.
    All Mac formatted drives will cost more and it’s easy to reformat with Disk Utility. Do not use the software that comes with the drives. It’s recommended that you use Apple’s Disk Utility.
    Prices vary but this gives you an idea of what you’ll find. As you notice the second and third TB is usually only $15 more per TB. Normally, you’ll find these prices but right now the 1T is more than the 2T
    Seagate Backup Plus 1 TB USB 3.0 $85
    Seagate Backup Plus 2 TB USB 3.0 $99
    Seagate Backup Plus 3 TB USB 3.0 $115
    I have seen the 3T on sale for $99.
    Locally, Best Buy seems to have the best prices.

  • How can i recover items that were emptied from the trash can?

    I accidentally deleted my iphone back up and emptied the trash. i REALLY need to recover that back up... HELP!

    Basics of File Recovery
    Files in Trash
    If you simply put files in the Trash you can restore them by opening the Trash (left-click on the Trash icon) and drag the files from the Trash to your Desktop or other desired location.  OS X also provides a short-cut to undo the last item moved to the Trash -press COMMAND-Z.
    If you empty the Trash the files are gone. If a program does an immediate delete rather than moving files to the Trash, then the files are gone.  Recovery is possible but you must not allow any additional writes to the hard drive - shut it down. When files are deleted only the directory entries, not the files themselves, is modified. The space occupied by the files has been returned to the system as available for storage, but the files are still on the drive. Writing to the drive will then eventually overwrite the space once occupied by the deleted files in which case the files are lost permanently. Also if you save a file over an existing file of the same name, then the old file is overwritten and cannot be recovered.
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • New to Macbook. How do I remove external drives?

    Hi there,
    I am new to Macbook and cannot remember if I need to safety remove external devices. Can someone please advise me.
    Thanks

    To safely eject external drives, drag them to the Trash from the Finder (if they're on the Desktop) or, from a Finder window, use the 'eject' arrow next to the name of the drive in the Sidebar.
    And, yes, you need to do it! Otherwise, you might suffer data loss.
    Good luck,
    Clinton

  • How do I merge external drive images to desk top drive within the same master catalog?

    I have about 900 raw files on an external drive. I edited those files using my master catalog using a laptop while still travelling. When I got home, I copied the master catalog from the external drive to the desk top, then opened the master catalog on my desktop. I can see the edited images on the external drive. So far so good.
    I want to copy (add) the edited images to my desk top. I tried to export the images as a new catalog and then import it into the desire location on my desktop drive. However, LR5 does not allow that. I get this message: "There is nothing new in the catalog you have selected. All of the catalog's photos are up to date in this catalog." Yes, but the edited  images are not on my desktop.....
    I also tried to Import from the external drive and then Copy the files to the desktop, but then I lose all of the work done in the develop module and the keywords.
    I watched Kost's LR 3 video on merging catalogs, but she dodges the question of how to deal with this issue since the "merge" is within the same catalog.
    I'm using LR5 with Windows 7.
    Any suggestions would be immensely appreciated as I've spent hours trying to resolve this problem.

    Okay, so I would copy (not move) the folders/photos to the internal HD, keeping them in the same folder hierarchy as they are in now on the external HD. Yes, of course the drive name will be different, but other than that the folder path and file name should be the same.
    Then, open the LR catalog that indexes the files and Update Folder Location (details are here: http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm, scroll down to the "Update Folder Location" section)
    Then, once that is complete and everything is working in your LR catalog, with no question marks on the photos or folders, optionally delete the photos on the external HD.

  • Since you can no longer backup to disk, how to restore from external drive without losing all ratings and playlists

    since you can no longer backup to disk, how to restore from external drive without losing all ratings and playlists?

    My own opinion is that you should install the later appropriate version of Silverkeeper. That said, I would in fact recommend if you can wait a few days for an answer, that you email the La Cie Silverkeeper backup team via the email link on the site at http://www.lacie.com/silverkeeper/
    They are careful to say they are not officially providing a backup service, but when I emailed them with a query regarding usage about a year ago after downloading Silverkeeper for myself, I got a reply within a couple of days that cleared up my question.

  • How do I save my iTunes library and iPhoto to an external drive and not to the iMac drive?

    how do I save my iphoto library and itunes library to an external drive and not to the imac drive?

    For iPhoto, see > iPhoto: How to move the Library folder to a new location
    For iTunes, see > iTunes for Mac: Moving your iTunes Media folder

  • How do I recover lost entourage folders using time machine?

    How do I recover lost Entourage folders using TimeMachine?

    Open Entourage, activate Time Machine, scroll back in time until the folders (and contents) appear, press restore.

  • External drive doesn't show volume when used internally (and vv)

    I have an early 2011 MBP 17" where I have replaced the optical drive with the 750G hard drive that came with the computer. in the hard drive spot I put in an SSD. Recently I got a 1T 2.5" drive and I want to copy all the files from the internal 750G to the 1T and then put the 1T in the optical drive bay to replace the 750G.
    I got everything copied to the 1T drive via USB - i put the drive in a USB 3.0 enclosure that I've used before with this machine. everything copied fine. so i swapped out the 750G for the 1T in the laptop. when I booted up, the drive did now show in the finder. in Disk Utility it shows up as a device and the indented volume is a greyed out and showing a system volume designation (something like disk3d or whatever the OS uses for this [I didn't make note of the specific volume name]). when I put the disk back in the USB enclosure, it worked fine.
    So i formatted the 1T in the macbook, interally, and it works fine that way. but when I put the 750G in the external enclosure, thinking I could copy the files that way [external to internal]) - the 750G does the same thing: the device shows up ok in Disk Utility but the volume is grey and shows as an OS volume name. like the 1T I am not able to mount it or do anything other than format it.
    So I am at a loss. why can I not copy files to an external drive and put that in the machine internally? this is the way I've done this kind of thing over the years. this is the first time I am doing this with the MBP. what can I do in order to get this to work so I can get all the files on the 750G onto the 1T and work in my MBP?
    I know I can leave the 750G in the computer, connect a drive and copy it all over to it. then put the 1T in the computer and copy all the files off the external drive to the 1T. likely this would work. however a) i don't have a large enough external drive to do this with and b) i'd like to understand what is going on here and solve it as i may need to do this in the future.
    any ideas?
    thanks!

    How did you backup your internal hard drive to the external?  In order to boot a Macintosh has to be partitioned using the GUID scheme and then formatted as Mac OS extended Journaled. Both operations are performed in Disk Utility. You can clone your drive to to the external using a utility such as Carbon Copy Cloner or Super Duper. I'm not sure what you expect to accomplish without install discs. When you clone a drive you're making an exact copy. You shoud probably look at calling Apple and requesting a set of original discs or purchase a full install of Snow Leopard at http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard

  • How do i recover my purchased movies on itunes. the icloud does not show them and i have contacted apple twice before about this issue

    how do i recover my purchased movies on itunes. the icloud does not show them and i have contacted apple twice before about this issue

    Not all movies qualify for download on demand from iTunes in the Cloud, the rights may be reserved by the content provider and can vary by region. What response have you had from iTunes Store support?
    If you have still have the computer they were on it might be possible to extract the hard drive, mount it in an external drive bay and recover the content from it.
    tt2

  • Hello  I bought my wife a new MacBook Pro, in setting it up for her, I took her Time Machine external drive to migrate onto the new machine but her old MBP not only was on 10.6, it was my old machine which I was still Administrator for.  i plugged in the

    Hello
    I bought my wife a new MacBook Pro, in setting it up for her, I took her Time Machine external drive to migrate onto the new machine but her old MBP not only was on 10.6, it was my old machine which I was still Administrator for.
    i plugged in the external drive to start the migration process after entering her name and username from the old machine which gave me the options on transferring the old data over.
    I also unchecked the Administrative end that had my info hoping that ONLY her data, files, etc., would be the ones sent over to her new machine which I wanted her to be the ONLY Administrator for. All went like clockwork until the restart.
    Normally the screen should show the username and only need the password but both entries were blank, as in ‘Other’ sign in option available only. I entered her name and password, nothing….used her username and password, nothing. Used my old Administrator name and password, NOTHING!
    I tried defaulting to factory settings from the Restore feature but it directs me to notify Apple. I tried in Terminal to change the password, nothing. I tried to boot from MY external drive and it doesn’t recognize it. I tried to even use my external drive which actually has the Mavericks upgrade, nothing!
    Basically I can only get the startup screen which isn’t accepting the username/password or the Restore feature which doesn’t offer any options helpful!
    Please, how do I start from scratch and start over here? Or simply change the Administrator name and password so I can proceed with everything thats already on there? I wish I could even boot from another drive but no luck on anything!

    First, on the old machine, make your wife's account an admin one. Log into it and delete yours. Then, update the TM backup. Finally, use Internet recovery mode, ⌘⌥R, erase the HD, and restore the OS. One first boot, follow the steps outlined in Pondini's Setup New Mac guide.

  • Using Disc Utility to copy my hard drive to a brand new external drive and am having the error "Unable to create...(Cannot allocate memory)".

    I'm not very tech savvy but am trying my best to use Disc Utility to copy my hard drive to a brand new external drive and am having the error "Unable to create...(Cannot allocate memory)".
    Last night no problems, woke this morning and it was freezing so I forced a restart and got the grey screen with the folder and question mark. Ran off to best buy to get an external drive... Please help! Thank you!

    I have done both. When I hold down the "C" key it pauses for a few seconds while the cd spins and then the flashing folder icon appears.
    Could be you have the wrong cd/dvd.  The mac will only boot a supported cd/dvd for your machine. The flashing question mark indicdates your machine could not find a valid os.
    When I hold down the "option" key for the startup manager the cursor comes up and moves but the actually manager doesn't come up no matter how long I leave the laptop on.
    Not sure.  Could be your machine does not support the startup manager. You would think the machine would ignore the key.
    Where did you get the dvd?  What is the number on the DVD?
    What machine do you have anyway?
    This site provides more information, but lacks security.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    or
    This site provides more information, but lacks security too.
    "A serial number is a unique, identifying number or group of numbers and letters assigned to an individual piece of hardware or software. It's used for various things depending on the product / brand but what is your Mac's serial number for and more importantly... what is it hiding and what can it do for you ?"
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html
        ( hint by K Shaffer  )

  • Can the G4 accommodate external drives in addition to the 2 ATA internals?

    Hi all,
    I have a G4 dual 1GHz machine (Sales Order Number: M8667LL/A) with two 120 ATA internal drives. I am happy with them but I want to have more HD space. I read Apple's pdf file on G4's capacity and seems to indicate that this tower only will accommodate either two ATA drives or 3 SCSI drives internally. Since I already have the 120 ATA internal, I think I need to hook up external drives. Is this technically feasible? Will my machine accommodate external drives in addition to the internals? And if so, what if any are there limitations on the size? Also, I read a thread debate between USB 2.0 and firewire. It seems that the poster recommends firewire for being technically faster. Would you recommend also?

    Hi, Speed Racer -
    Your G4 QuickSilver '02 model is designed to have up to four internal ATA hard drives - two in the rear position on the two-drive bracket (sled), and one each in the other two positions. However, in order to use more than two internal hard drives you will need to add a PCI controller card in order to have a bus connection for the additional drives.
    Using an ATA/100 or ATA/133 card, one which is 48-bit LBA compliant, will also allow you to use drives larger than 128GB on that card.
    You can also use an SATA (Serial ATA) card instead, and SATA drives. The advantage of this is that newer Macs use SATA drives, so the drives would be more likely to be usable on a new machine if and when you get one. SATA also does not have the 128GB limit.
    As far as external drives go -
    The 128GB limit does not apply to firewire or USB.
    Although your machine is both firewire bootable and USB bootable, your machine has USB 1.1, which is far too slow for most things, especially for booting. You should consider firewire only.
    You can daisy-chain several firewire devices together - up to 16 devices per firewire port.
    Although the specs for firewire on Macs state that the first two devices in a chain can draw power from the firewire bus, it is better to equip all firewire devices with external power - this may be standard with a device, or an optional extra. Doing this relieves the power supply in the Mac from the burden of providing power to the devices.
    Note - one of the advantages for having firewire drives is that they are hot-connectable (can be added or removed without shutting down the Mac), hence are very portable. However, disconnecting a firewire drive while it is still mounted on the desktop can damage the drive. Before disconnecting a firewire drive, either shut the Mac down, or dismount the drive - to dismount a firewire drive, either drag its icon to the Trash, or select its icon and press Command-Y (Put Away in File menu); once it has been dismounted (its icon has disappeared from the desktop), it can be disconnected without damage.

  • My mac mini won't back up to my Seagate external drive but can read the information on it. Can i back up to it at all?

    My mac mini won't back up to my Seagate external drive but can read the information on it.
    Can i back up to it at all? and how do i do it?
    Simon

    I suspect the Seagate is not formatted to be used with the Mac. The correct format would be Mac OS Extended (Journaled), if you just bought the EHD then almost certainly it's formatted to be used with MS Windows machines. This is easy to fix, here are instructions on how to format it:
    http://pondini.org/OSX/DU1.html
    After formatting Time Machine http://support.apple.com/kb/ht1427 will launch and will begin backing up. The first backup will take some time however after the first backup it will go pretty quickly.
    NOTE!!!!!!!!!!!!!!! After formatting all data will be erased, so please if you have data on that move it to the internal HD first and then format. Then once you have backed up you will have a backup copy of the data. Also NEVER EVER use a backup disk to be used to store data. The reason being is if that drive crashes you have not only lost the data you have lost it's backup!!!!!!!!!!!!!!!

Maybe you are looking for