Can't delete files via terminal!?

Hey there,
after I deleted my timemachinebackup I wanted to kick it out of the trash, but I got negative numbers... so I read a bit in some forums and tried it with
"sudo rm -rf /Volumes/Mac HD/.Trashes/$UID/*"
"sudo rm -rf /Volumes/Mac HD/.Trashes/*"
"sudo rm -R /Volumes/Mac HD/.Trashes/$UID/*"
But it seems like nothing works for me... terminal askes me for my password and after I typed it nothing happens and the HD got the same free space like before...
My somebody help me?
Thanks!

roam is absolutely correct.  You MUST protect the path information so that spaces are not seen as commad line token separators.
Also be very VERY careful using 'rm' especially when also using 'sudo' as the combination can be the extremely dangerous to your data.
sudo rm -r /Volumes/Mac\ HD/.Trashes/$UID/*

Similar Messages

  • How do you delete files in Terminal?

    I've searched the site looking for this because I've had a problem deleting files before and know there's a way to do it in Terminal, but can't seem to find the answer. I have an application and two txt files that won't delete, and won't allow me to drag them to the trash or change the file name.
    "The item cannot be moved to trash because it cannot be deleted."
    I'm on OS 10.2.8, I do have admin privileges and the files are not locked.
    If you can post the code to delete files in Terminal or if there is another option please let me know.
    Thanks

    Force-delete an item from desktop or Trash....this also will remove a locked
    file/application .... or ... a “file that is in use”
    1. Launch Terminal...type/copy/paste...
    rm <space> This deletes a file only
    sudo rm -rf <space> ..this deletes file or folder ,,,or ...
    sudo rm -R <space> this deletes file or folder
    2. Drag the offending item into the Terminal window. The path to it will appear.
    •To force-delete more than one item from the trash....click a item and press Shift or Command as you click additional items .
    3. Click on Terminal window, press .... Enter
    4. type your administrator password. Press ....Enter
    5. Click on the Desktop or the Trash window and the file will vanish.
    • If this does not work, then visit The XLab FAQs ....
    http://www.thexlab.com/faqs/faqs.html
    and read the FAQ on Trash problems for additional solutions.
    george

  • My new users can not upload files via browse

    Hi there;
    When my recent created users can not download files via the browse within the Internet interface.
    When I hit the via browse I face the following:
    500 Internal Server Error
    oracle.ifs.common.IfsException: IFS-10406: Invalid AttributeValue conversion (DIRECTORYOBJECT to Java DirectoryObject)
    oracle.ifs.common.IfsException: IFS-10200: Unable to access object (insufficient privileges)
    Any hint?
    Sasan Ebadian

    Hi Sasan,
    These are the ACL's of IFS:
    PRIVATE Grants no permissions to any other user. Other users cannot view, modify, or delete a user’s document in any way, unless changed by the owner.
    PROTECTED For folders only. Enables other users to see the files in the folder, add documents and folders to the folder, and remove documents and folders they have created from the folder, but are not allowed to delete the folder itself.
    PUBLIC Allows full access to the item. All users can make any changes that the owner can make.
    PUBLISHED Allows other users to view the contents, but they are not allowed to modify or delete the document.
    If you attach the ACL Public it must work!
    Bob

  • I can't send files via bluetooth

    My problem is that I can receive files via bluetooth, but I can't send files via it. Actually I can see the "receiving file" message on mobile, but as I wanna accept that file, I see a "receiving file" error. I tried this with several other phones, but I still have the same problem. I see this message when I run bluedevil-sendfile from terminal:
    http://pastebin.com/APy9NcXh
    Last edited by mghaffari (2012-06-09 19:30:17)

    Is your problem similar to this?
    https://bbs.archlinux.org/viewtopic.php?id=142658

  • HT4873 How i can recover deleted files from icloud,,I had a backup copy on iCloud for whatsapp application and I lost it,,I need bring it back what I have to do

    How i can recover deleted files from icloud,,I had a backup copy on iCloud for whatsapp application and I lost it,,I need bring it back what I have to do

    You can't download pictures from iCloud by logging into icloud.com.  If you deleted pictures from camera roll AND photo stream, the only possibility is preforming a restore from an iCloud backup, assuming the backup has the pictures in it.  (Many users have been unable to restore and get back their pictures.)
    If the restore doesn't have all the pictures, then they are gone.
    In the future, use photo stream to sync photos from an iPhone to a computer, then copy the photos on the computer from the photo stream album into a permanent album.  Photo stream pics stay there only for 30 days, and only up to 1000 photos are stored.  Don't use photo stream as a storage medium, it's only for copying photos from one device to another.  Always copy (either via USB cable or photo stream) to a computer and then move to an album.

  • Can not delete files from Adobe reader

    can not delete files from adobe reader.

    Can you let us know a little more about what you are trying to do? Adobe Reader opens pdf files but does not store them so, there's nothing to delete.

  • Where can I find the Start up disk and how can I delete file from it.

    where can I find the Start up disk on theMac Book Air?
    How can I delete files from it?

    The startup disk is the internal SSD in your MBA.  You may delete files by draging the file  to Trash (or clicking on them and then execute COMMAND+Delete).  Then empty Trash.
    Ciao.

  • I can´t delete files in trash. It stops after a short time undone. What can I do?

    I can´t delete files in trash . It stops after a short time undone.
    What can I do? There are 52 files in trash, but if I click the button "sure empty" it shows 11.313 files to delete .
    I would be very greatful for your help!

    Stronger medicine may be needed, but try this first
    Force the Trash to empty using the Option key
    This technique uses a hidden feature of Mac OS X to force the Trash to empty. Perform the following steps in the order specified:
    Press and hold the mouse button on the Trash icon in the Dock. The context menu for Trash will display.
    Press and hold the Option key or the Shift-Option keyboard combination,
    Select Empty Trash from the context menu for Trash.
    Release the keys pressed and held in step 2.
    http://www.thexlab.com/faqs/trash.html#Anchor-Files-46919
    You are posting in the iMac PPC forum, but it looks like you have an Intel Mac. Get Trash It if you have an Intel.
    http://www.macupdate.com/app/mac/8214/trash-it!

  • Can't delete files and need to restart lightroom

    hello
    have you ever seen this problem?
    when using lightroom 1.3.1 on PC, I can't delete files. Lightroom doesn't work and i need to restart the program.
    Thanks for your answers

    having same problem here. I used to have the option to delete, but it seems to have dissapeared. I can delete but if I look in recycle its not there. If I go to undo, it says my last action was to delete the keyword which also removed it from the catalog. weird............

  • Can't delete files in iTunes 10.4 (80) OS 10.7 Delete in the edit menu is not hi-lighted?

    Can't delete files in iTunes 10.4 (80) OS 10.7 Delete in the edit menu is not hi-lighted. Any sugestions? I have three Mac's and they all have the same problem.

    Gmatos, when I high-light and drag file from iTunes to my trash the usual promt of "do I want to remove it" followed by by the uual "do I want to keep the file or remove that from my library" comes up too. I click "dont keep file" and it is gone from my itunes and my library an my HD. It's exactly the same as it's always been except annoyingly this is the only way I can do it as the delete button just doesn't work in this latest version.
    Hope this is clearer for you.

  • Is there a trash can for deleted files in Photoshop 10?

    is there a trash can for deleted files in Photoshop 10?

    Thank you so much for replying.  Yes, I'm using Photoshop Elements 10.  You may save me weeks of work.  Again "Thanks so much for replying to my problem.
    Howard
    [email protected]

  • Can u transfer files via airdrop from a iphone 5 to a mac and vice a versa

    hi,
    can u transfer files via air drop from an iphone 5 to a mac air, and mac air to a iphone 5.

    I would like a constructive response, rather than an ascerbic one.
    We have owned Iphones for a couple of years, and used photostream to copy photos to a PC...
    Within the family, we have 2 ipod touch, 2 x iphone, 2 x ipad minis and 2x Ipad Air.
    I have recently purchased a Mac desktop and would like to use this as a central backup and storage for all devices.
    I have been made aware that photostream / Icloud will only do its thing and back up to the Mac whenever the designated account is open on the Mac. (so I must remember to ensure the account for each family member is opened at lease once a month)
    SO, on one of the iphones, for example, we have over 900 photos in the photostream album. When connected to the Mac, only the last 30 days of photos are copied across (about 60 photos).
    How can I transfer across the other 850 photos ?
    I cannot copy them across to the camera roll on the iphone
    I cannot access them from iphoto
    the camera does not show itself as an " external drive" in Finder (Please note I am more acustomerd to using a PC).
    Itunes only allows "sync" and "backup" of the phone but is not at all helpful. (No indication of what is is/has backed up or synced)
    My Icloud is currently holding 12gb of my data, but the only info I KNOW is in the Icloud is my next dentist appointment.
    I really wish to transfer these photos across, as I would also like to upgrade the ios software, but this needs a few gb of memory space, and, of course, the
    These photos are visible within the iphone, but how do i get them transferred???
    like I said at the beginning, constructive answers please.

  • My mac book startup disk is full and when I start it, it give me a blank blue screen. I have tried the shift and I started in safe mode, and it gave me the stars screen. How can I delete files to fix the problem

    My mac book startup disk is full and when I start it, it give me a blank blue screen. I have tried the shift upon start
    and I started in safe mode, and it gave me the stars screen. How can I delete files to fix the problem

    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Empty Trash.
        http://support.apple.com/kb/PH10677
    3. Delete "Recovered Messages", if any.
        Hold the option key down and click "Go" menu in the Finder menu bar.
        Select "Library" from the dropdown.
        Library > Mail > V2 > Mailboxes
        Delete "Recovered Messages", if any.
        Empty Trash. Restart.
    4. Delete old iOS Devices Backup.
        iTunes > Preferences > Devices
        Highlight the old Backups , press “Delete Backup” and then “OK”.
        http://support.apple.com/kb/HT4946?viewlocale=en_US&locale=en_US
    5. Re-index Macintosh HD
       System Preferences > Spotlight > Privacy
       http://support.apple.com/kb/ht2409

  • Ok, so it appears that my photo gallery and video gallery decided to delete themselves? Is there a trash can or deleted file where I can recover them? Please help

    Ok, it seems that my photo gallery and video gallery decided to
    delete themselves. Is there a way to recover them perhaps from
    a trash can or deleted file? I have a Android

    appreciate your reply
    1. i do not see a trashcan iconwhen i open the photos.
    2. the photos are NOT in the 'camera roll' they are in a folder called 'iPad photos' (which is in the 'albums' section of the iPad)
    3. i have re-set the iPad numerous times in order to try and resolve this. each time it is the same - no trashcan.
    4. i have no method of 'moving' the photos to another folder - only the option to 'add to' a 'new folder'. since thsi won't delete the original photos, there is little point in trying this.
    5. i'm guessing your next suggestion will be to completely back up and re-set my iPad? is that really what i should be doing here? surely... surely.... please, this should be a simple - select>trashcan>delete process and not something i have to spend half my working day trying to resolve! seriously, seriosly, unimpressed with Apple over this issue. it's about time that Apple gave the power back to the user on devices like these. i can understand now why people jailbreak their iPads... there rant over - but please consider my feelings over this issue.

  • HT204408 Can I delete files in "All My Files" under Finder and Favorites without deleting them in the actual folders?  If they will be deleted from the original folders then how do I put them on the external hard drive to save the documents, photos, and v

    Can I delete files in "All My Files" under Finder and Favorites without deleting them in the actual folders?  If they will be deleted from the original folders then how do I put them on the external hard drive to save the documents, photos, and videos?

    Switch to the Finder app and open its preferences.
    Remove the check mark on the items you don't want displayed in the Sidebar tab.
    The originals are not removed from the machine.

Maybe you are looking for

  • CPU upgrades for 466 G4 PowerMac?

    I have a 466 G4 PowerMac & was wondering about CPU upgrades. I have seen sites which offer dual core upgrades for these machines but have also been advise that they can be more trouble than worth + cost may not justify. Can anyone provide info or alt

  • My macbook pro turns blue and freezes

    my macbook pro turns blue and freezes, especially when using hotmail. It blinks blue when switching in hotmail pages. Once fully blue I have to restart it as it crashes

  • Seeing more than 7 emails in inbox

    I can only see the 7 most recent messages in my Inbox for an imap account. How can I view more? If I select the Conversation view, I can scroll down a very long list. Why in Inbox view, only 7 and no ability to scroll?

  • Changing Service Masters in to Service Materials (DIEN) any complications,

    Hello SAP Gurus, We are dealing with a Construction Based Client and along with Materials we also mainly require services, We right now have created Service Masters for catering our Service requirements, doing service entry sheets, But the major Issu

  • Upgrading from 10.4.11 to Leopard only now

    I have a G5 NON intel and in preparation for buying an ipad am about to upgrade to Leopard. Not Snow leopard, since that needs an Intel mac. I have accepted every update of itunes, iphoto and so on offered by Apple to date, will I now find that some