How do I delete a folder that need su

I need to delete or rename a folder called pb (it has files in it)  that is located in the /usr/local/games/enemy-territory/
when I was using Ubuntu I would just open the folder using nautilus and try and delete it but Arch is different so I don't know how to delete or rename a folder

from the command line:
#delete
rm -rf pb
# rename
mv pb newname
I don't know what DE/WM you're using, so I can't be sure any graphical advice I give you will be of any help, but the above should work.
I know in kde you can run a graphical app as root with kdesu, so to open the file manager (konqueror) you could run the command:
kdesu konqueror
don't know how it works in too many other environments.

Similar Messages

  • How do I delete a folder that won't delete?  When I send to trash, it just reappears.

    How do I delete a folder that won't delete?  When I send it to trash, it just reappears.  I have restarted my computer and tried, and it still won't go to trash.

    Right or control click the folder then click Get Info
    If Locked is checked, uncheck then try moving the folder to the Trash.

  • How do I delete a folder that I moved to Trash from my external backup drive when a virus was detected? Trash will not delete the folder.

    I have tried unsuccessfully to remove a folder from Trash. My anti-virus program (Sophos) detected a virus which had to  be manually removed. I tried (unsuccessfully) to find and remove the infected file. I moved the Folder from my external backup drive and placed it in Trash. Now I cannot get Trash to delete the folder. It asks me if I wish to delete "unlocked" or "all" items. Either selection does not delete the folder. I went to change the permissions to "read & write" and unlocked the folder, but it is still there. I tried to "move" the folder from Trash back to the external harddrive but it seems I can only "copy" it and not "move" it. I am afraid that by copying it, I will not have the folder in two locations (Trash & External HD).
    Would appreciate any suggestions and guidance on this. I hope that I have explained the problem clearly!
    Thank you!

    Before deleting it we should know more about this folder and its contents.
    If it is invected and is using other apps, or other apps are still using it, then it cannot be deleted in the normal manner.
    You might contact Sophos and ask them about it.
    If you are using TM or have a backup of your system before the infection occurred, then you can delete the item(s) in Trash, but there is the possiblity of system corruption and the need for a reinstall, if any of these files are necessary for the OS to work properly, even though they are infected.
    Sophos may not have been able to remove the infection from inside a file which is why they suggested manual removal.
    You might consider downloading and running ClamXav first and see if it can't do better than Sophos.
    All that being said, you can always remove the contents of the Trash using the terminal. Usually as administrator, or in some cases as root (su). Unless you are very familiar with the terminal I do not suggest doing this without some study.

  • How do I delete a folder that has accumulated over 46,000 files?

    This is in a little used account. When I try to delete the folder, I get a message that I can only delete empty folders. Do I really have to delete 25 files at a time in order to unload all of this?

    Hi mmambrosius,
    Are you talking about an email account? What exactly are you trying to delete? Just so you are aware, Firefox is the browser that displays content. Your email provider would be responsible for the content and how it is displayed. You'll probably have better luck looking at their help documentation.
    That being said, most email providers do have a "Delete all" option. Usually it is at the top of the column where you can select all items on the page.
    Hopefully this helps!

  • How do I recover a folder that was accidently  put in trash and then deleted:

    How do I recover a folder that was accidently put in trash and deleted?

    If you don't have Time Machine enabled on your Mac you'll need to use a file recovery applicaiton like   SubrosaSoft FileSalvage.  FileSalvage had a demo mode to let you know what it can find and recover before you have to purchase it.  However, it won't be able to recover the folder, only the files in the folder. 
    Other possible file recovery applications can be found at MacUpdate.com by searching there for "file recovery".
    OT

  • How do I delete multiple photos that are stored on my IPAD imported folder? I have a first generation IPad

    How do I delete multiple photos that are stored on my IPAD imported folder? I have a first generation IPad

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • How do I delete Pages templates that I have created?

    How do I delete Pages templates that I have created?

    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. The user's Library is hidden in Lion & Mountain Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your user Library will appear about halfway down the list. Or you can choose Go to Folder from the Go menu in Finder & paste this line in the box:
    ~/Library/Application Support/iWork/Pages/Templates/My Templates/

  • How do I delete a profile that I don't want any more?

    I have multiple profiles on my macbook pro. How do I delete a profile that I don't want any more?

    Document files need to be associated with an app that will read it. I use documents to go, but there are others out there, paid and free.
    those apps will either have file transfer protocols that work within iTunes. Some also have the ability to upload and download using services like sugar sync or dropbox. Docs to Go has a desktop program that you can use to sync documents over wifi outside of iTunes.
    Another way to get documents onto your ipad is to mail them to yourself, open that mail, 'send' the document to your app and then view it that way.

  • How to I delete a folder in Contribute 3?

    How do I delete a folder in Contribute? It is easy enough to
    delete files, but I can't see any way of deleting folders on the
    web site.

    I'm pretty sure that's beyond contribute. It's just meant to
    be a simple content management solution, not a site management
    solution.

  • How can I delete plug-ins that I do not want then anymore?

    how can I delete plug-ins that I do not use anymore?

    Uninstall them by deleting them from the Library:
    The plug-ins usually are installed in the Applications Support Folder -> Aperture -> Plug-Ins, either in your your User Library or in the System Library:
    your home folder/Library/Application Support/Aperture/Plug-Ins/
    /Library/Application Support/Aperture/Plug-Ins/

  • How to I upload a folder that has multiple files in it?

    How do I upload a folder that has multiple files in it? I need to upload an entire folder onto a web page but when I choose the folder it opens it up and becomes individual files instead of just the one folder.

    You generally can't upload a folder to a website, but some sites allow you to select multiple files. You'll have to refer to the specific website instructions to see if that's possible.
    Alternatively, it might be appropriate to first compress the folder in the Finder using rightclick, then "Compress", which creates a single .ZIP file - then upload this file.
    Matt

  • How do i delete an app that came with the latest 8.2 software update?

    How do i delete an app that came with the latest 8.2 software update?

    Since you can't delete apps that are part of iOS, you should try the same thing I do. I create a folder which I call Worthless and move to the last page of my iPhone. I then put all the apps that Apple includes with iOS into that folder. With the name Worthless, I never even tempted to look in there again. That is about the only thing you can do with worthless apps that are included with iOS.

  • How do I delete a folder?

    Just so ou all new I am a brand new Mac user.
    How do I delete a folder in Leopard? I'll highlight a folder, press delete, go to file and select move to trash but it wont do anything. However if i open the folder I can delete the individual files within the folder. Its frustrating! Also every time I click on delete or move to trash it keeps asking for a password. Is there a way I can make it so it doesn't ask that each time I want to delete something?

    Normal way to delete a file/folder is: select file/folder, and command+backspace = put the selected file/folder in the bin (U can ofcause just drag the file/folder to the bin with ur mouse). Then press commandshiftbackspace to empty the bin.
    Command = apple key next to the space key
    Shift key = key to the left with arrow (for uppercase letters)
    Backspace = Same as delete key (but macbooks dont have delete, just backspace)
    AND files/folders must be unlocked to b deleted. Select a file, Press command+I, in the newly opened info-panel uncheck "locked". The selected file is now unlocked and can b deleted.
    BUT as stated elsewhere MAC OS might have a good reason not to allow deleting of systemfiles. You may damage you system if deleting systemfiles.
    As a new Mac user, make it a habbit to ask here and in other mac forums. Mac people are generally very helpfull people, thow they might tease you a bit (they have plenty humor toooo).
    And as a courtesy to those who help out - let them know if you problem was solved.
    Once a mac - u never go back...
    Best regards
    Message was edited by: Jan Storgaard
    Message was edited by: Jan Storgaard
    Message was edited by: Jan Storgaard

  • How do I delete an app that is printing daily

    How do I delete or unsubscribe to an app that prints daily

    I am new to this, so forgive me if I am doing it wrong.  I need the answer to the question 'How do i delete an app that is printing daily?'

  • We use Hotmail and we want to know "how do we delete a folder"

    We use Hotmail for emailing and we want to know "how do you delete a folder"

    You may get more help on the Microsoft Hotmail help/forums, I take it you access Hotmail through your Web Browser.
    If you access it through a Mail client, what client is that?

Maybe you are looking for

  • PHP Sendmail Small Problem

    Hi there, I'm using a PHP send mail script to email the form results over to me. For the message, I want several fields to be in the actual message. I've seen that you simply need to insert the '.' However this simply seems to put the additional fiel

  • Using Disk Utility From Recovery Partition

    Is there an advantage to repairing permissions after booting into Recovery disk? (Hold Option key as restart) I realize that Repair disk will be available if needed & it is not available when using Disk Utility from Mac HD partition.

  • Collective Outputs for sales orders

    hi, Please can anybody help me to find out the outputs collectively for Sales Order.

  • Purchase from the Apple Store

    I bought the album Glad Rag Doll from the Apple store, and it showed up in Purchases on the left side of iTunes, and my credit card was charged. However, it did not show up in my Music list, and when I Search for it, it does not appear. It must be in

  • My iPhoto dose not work from 0:00 Sunday. I was deleting and downloaded again but dosn't work! Why?

    My iPhoto '11 dose not work from 0:00 Sunday. I was deleting and downloaded againg but the problem is same.