Delete locked file from /Applications folder

Hi there
I used Clean My Mac to remove a file install - something I have done many times without any problems.
This time though the application file was left behind in the /Applications folder and I am unable to move it to the Trash because it is locked.
I have tried the following
sudo chflags nouchg /Applications/CrashPlan.app
This however does not resolve the issue and I am still unable to move the file to Trash - it does not remove the locked flag
Does anyone have any other ideas or suggestions how to remove the file?

Hi WIlliam
I tried what you said but I get an unexpected result...
Johns-Mac-Pro:~ John$ sudo rm -r /Applications/CrashPlan.app
Password:
rm: /Applications/CrashPlan.app/Contents: Operation not permitted
override rwxrwxr-x  root/admin schg for /Applications/CrashPlan.app?
I'm not sure how to respond to the question it is asking. I tried keying in Y but the response was
override rwxrwxr-x  root/admin schg for /Applications/CrashPlan.app? y
rm: /Applications/CrashPlan.app: Operation not permitted
Johns-Mac-Pro:~ John$

Similar Messages

  • I have installed itunes 11.0.2.26. When I delete a file or podcast I am not being prompted to delete the file from its folder at the same time.

    I have installed itunes 11.0.2.26. When I delete a file or podcast I am not being prompted to delete the file from its folder at the same time. How do I restore this facility? I am running a 64bit Windows 7 OS

    Is the media files in question in the iTunes library or elsewhere on the computer?

  • How to delete a file from application server?

    Hi gurus,
    i want delete a file from application server . can any one tell me the BAPI/Fm .
    thanks in advance

    See the replies of the thread;
    How to delete  File from the Application Server,ABAP
    But i can smell something fishy in both  The specified item was not found. and The specified item was not found. style of posting questions. Also both of you have similar questions in your profile....
    Hmmm, Mods have to take care of the Rest...
    Regards
    Karthik D

  • Delete PDF file from a folder

    Hi!
    please help me this is urgent..
    i try to delete pdf file from my local pc how to do that ??
    can some one help me i need it by today please help me ..
    thanks to all of you...
    from:
    newbie

    First you open a File to the specified file, and then you call delete(). Easy
    File file = new File("path/filename");
    file.delete();Of course if you want to make your application cross-platform you will need to build a correct path somehow. Check out the static attributes of the File class to help you (fx. File.separator).

  • Move file to application server  or delete a file from application server

    Hi all
    I have one application in which if succeful uploading  of BMP file  from application server is not  done , File has to move to another folder like 'ERROR' Folder
    but i am unable to do that.
    here is the code:
    CONDENSE g_t_ws_move.
    CALL 'SYSTEM' ID 'COMMAND' FIELD g_t_ws_move
      ID 'TAB'     FIELD g_t_ws_command_line[].
    where
    <b>G_T_WS_MOVE= 'MOVE /Y /sapin/XVZ/journeyplan/0000000.BMP /tmp/0000000.BMP'
    means  i have to move 000000.bmp file from XVZ to tmp directory ,</b>

    Hello Neetu
    Alternatively you could use a combination of the following function modules:
    - EPS_FTP_PUT
    - EPS_DELETE_FILE
    Regards
      Uwe

  • Deleting individual Files from trash folder

    This should be a simple question...Is there a way to permanently delete individual files/folders from the trash folder instead of emptying the entire trash folder? TIA, Scott

    As Allan says, no... the trash *should not* be used as a repository for files you're not sure you want to trash yet. Not only is this extremely hazardous, as it's easy to accidentally empty the trash, but it also puts all those questionable files outside the reach of Time Machine, so they will not be backed up. If you need a "Pending Trash" folder, create one on your desktop, and then put files in the trash only once you are truly ready to delete them.

  • Once a movie is copied into iTunes, can I delete the file from the folder?

    I've copied several movies into iTunes and then sync'd them onto my Apple TV.
    My question is: Once I've copied a movie into iTunes, can I delete the movie from its original folder (e.g. the Movie folder) and still have the movie in my iTunes?
    More specifically, does "dragging and dropping" the movie into iTunes make a new copy of the movie file so that I can delete the original file? And if I can delete the original file, should I?
    MacBook Pro   Mac OS X (10.4.9)  

    Thanks. I'll check and see when I get home tonight. My guess is that that's the setting since my disk space has decreased a lot when I started copying things into iTunes.
    MacBook Pro Mac OS X (10.4.9)

  • Delete file from application server

    Hi,
       Can any one tell me how to delete a file from application server?
    Thanks,
    Rahul.

    Basic question, please search for available information.
    Thread locked.
    Thomas

  • How to delete file from application server(Unix)

    Hi All,
    Using the below code downloading a file from application server(Unix) to client machine. I want to delete the file from application server once it is downloaded to client
    We work on Forms 11.1.1.4.0 and Oracle DB 10g. Client machine are Windows 7.
    BEGIN
      IF webutil_file_transfer.AS_to_Client
      (clientFile => Name_In('global.g_file_name')
      ,serverFile => ls_AppServer_Loc)THEN
      message('Data exported Successfully');
      ELSE
       message('File download from Application Server failed');
      END IF;
    EXCEPTION
      WHEN OTHERS THEN
      message('File download failed: '||SUBSTR(sqlerrm,1,200));
      END;
    I have search for solution on OTN. Few suggested to use HOST.
    Can any one help me how to use Host() built_in to delete the file.
    Thanks,
    Maddy

    Can any one help me how to use Host() built_in to delete the file.
    Host('/bin/rm <complete file path>');

  • How to copy file from application server

    Hello experts,
    How to copy file from one folder of application server and paste it to other folder of application server(application server is same)?
    Is there any function module exists???
    thanks in advance
    Saurabh

    Hi you can use this function module to move a file from application server to another folder on application server.
    call function 'WS_FILE_COPY'
               exporting
                    destination = m_destination
                    source      = m_source
               importing
                    return      = return.
    Plus u can use this function module to delete the file from that folder from which u want to replace it.
          call function 'WS_FILE_DELETE'
               exporting
                    file   = m_source
               importing
                    return = return.
    The above FM can help u copy a file from one folder to another and delete the file from that folder.

  • System exception while deleting the file from app server in background job

    Hi All,
    I have a issue while the deleting the file from application server.
    I am using the statement DELETE DATASET in my program to delete the file from app server.
    I am able to delete the file from the app server when i run the program from app server.
    When i run the same report from background job i am getting the message called System exception.
    Is there any secuirity which i need to get the issue.
    Thank You,
    Taragini

    Hi All,
    I get all the authorization sto delete the file from application serever.
    Thing is i am able to run the program sucessfully in foreground but not in the background .
    It i snot giving any short dump also just JOB is cancelled with the exception 'Job cancelled after system exception ERROR_MESSAGE'.
    Can anybody please give me suggestion
    Thanks,
    Taragini

  • How to Select the Latest file from Application Server?

    Dear All,
    I am working on object, which had requirement to Pick the file from application server.
    The Application server contain the files in ‘/temp/sms/’ directory. The files are having the name Like ‘smsqry_yyyymmddhhmmss.txt’ and I have to Pick the Latest file (Base on file name for eg. 'smsqry_20060713102333’) from that all and after getting the file I have to delete the file from application server.
    So How to do this.
    Regards

    hi,
    look function group EPSF-
    esp. fm EPS_GET_DIRECTORY_LISTING
    if you're looking fo OS-date and time
    look here:Re: How do I convert MTIME to date and time?
    A.
    Message was edited by: Andreas Mann

  • How to delete a file from Appliction Server.

    Hi Gurus,
    I want to delete a file from application server .
    can any one tell me the FM/BAPI.
    Plz Reply me ASAP.
    Thanks in Advance.

    BAPI_DOCUMENT_DELETE ?
    GUI_DELETE_FILE ?
    maybe just go to SE37, enter DELETE, and click on the document icon to find from repository system.
    Regards,
    Vincent

  • Can ODI delete a file from an FTP server

    Hi
    I'm downloading a file via FTP - but I want that file removed after it's downloaded.
    So I want to 'move' the file down, rather than copy it... or delete it after it has downloaded
    Is this possible with ODI?
    Many thanks
    Z.

    Have a read of :-
    Re: Is this possible?
    Re: Delete multiple files from FTP Folder
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Auto scan files from windows folder

    I am having trouble updating the iTunes library automatically? e.g. when I delete a file from my folder where all my music is stored the Library in iTunes does not do a refresh and pick up the change?
    Please help because this is getting irritating because I have to keep importing the folder into iTunes.

    iTunes does not have an auto-refresh or scan feature as you desire.
    If you delete a music file on the PC (outside of iTunes), you will be left with a broken song reference within iTunes.
    Delete both the reference and file by using iTunes.

Maybe you are looking for

  • Installing Oracle 8.1.7 on Linux

    I've got this problem when I try to run the runInstaller The Java RunTime Environment was not found at $/bin/jre. Hence, the Oracle Universal Installer cannot be run. Please visit http://www.javasoft.com and install JRE version 1.1.8 or higher and tr

  • User-Exit/Badi for F-47/F-58

    Hi All, I have a developed a custom workflow for f-47 (vendor down payment request). Now whenever the document is approved/rejected the status is stored in a custom ztable. This document is posted in f-58. My requirement is whenver the document is re

  • N9: PR1.1 update using terminal failed

    Nokia N9, 16GB black, unbranded, Switzerland 059L5D0, Version 10.2011.34-1.232.2_PR_232 (PR 1.0 I guess) No PR1.1 using neither using OTA , nor the updater for PC. Found a post on updating using the terminal (apt-get update), but it fails writing the

  • How do I attach an image to an iMessage in Mavericks?

    Hi, I receive images to iMessage on my iMac but I cannot work out how to attach an image. I can import an image from a camera or scanner and I can capture part of the screen, but I cannot work out how to attach an image I may have on my iMac or in my

  • Where are the standard icons while creating a screen?

    Hi guys, Can anyone tell me where I can find the standard icons 'display', 'change', 'delete', 'create' in screen painter se41 when I create a screen? Thanks!