Pressing command-z deletes the files even if there is no restore location

I have copied some photos from sd card to my mac. Then I deleted the files from sd card and removed it to take more photos. While my friend was taking pictures somehow accidently I pressed the command-z. Then whole folder just disappeard. I didn't even get any notification that telling me "cannot find restore location" or " files will be deleted". Folder just disappeared in 1 second. They are not in the trash also.
Where did they go? Are they in some sort of temporary storage? How can I get them back?
SD Card is already full with other images so recovery program couldn't bring the old files back. Recovering on the computer might take so long time since I have 500gb hard drive. Is there a fast way to get files back?

I cannot try it now for that folder since i did other copy oparations. But I did it with another file to try. I copied file from usb drive. Then I removed my usb drive and pressed command-z. File disappeared then I pressed command+shift+Z. A notification popped up "The operation can't be completed because it isn't supported". 

Similar Messages

  • Why can't I delete the file?

    What I want to do is: After user download the file from web, the application will delete the file automatically on ther server. However, the delete function cannot work which it prompts the java.lang.Exception, I suspent it is the download process hold the file, how can I solve it?
    DownloadReport(request, response, reportFile);
    Utility.deleteFile(reportFile);
         public void DownloadReport(HttpServletRequest request,
                   HttpServletResponse response, String reportFile) throws Exception {
              File fFile = new File(reportFile);
              String stFileName = fFile.getName();
              response.setContentType("application/vnd.ms-excel");
              response.setHeader("Content-Disposition", "attachment;filename=\""
                        + stFileName + "\"");
              // System.out.println("Henry "+getServletContext());
              InputStream isStream = null;
              try {
                   PrintWriter out = response.getWriter();
                   isStream = new FileInputStream(fFile);
                   int i;
                   while ((i = isStream.read()) != -1) {
                        out.write(i);
                   isStream.close();
                   out.close();
              } catch (Exception ioeException) {
                   log.error("Download report error", ioeException);
                   ioeException.printStackTrace();
                   throw new ServletException("Download report error", ioeException);
         public static void deleteFile(String path) {
              boolean deleted = false;
              try {
                   File delefile = new File(path);
                   if (delefile.exists())
                        deleted = delefile.delete();
                   if (deleted == false)
                        throw new Exception("File could not be deleted " + path);
              } catch (Exception e) {
                   e.printStackTrace();
         }

    Hi, my application is using POI API generating the Excel report, after genration, the report will be stored on the server, and then user download the report to their local machine throught web and then I delete the report on the server. I don't quitely understand what you mean, could you kindly explain to me detailly:p. Btw, I have tried to print out the exception, but it only shows "java.lang.Exception: File could not be deleted " which is so limited. If I comment the DownReport function, the file could be deleted successfully. But if it happens after the download action, it is failed.

  • I somehow changed a video in my imovie to zero fps, so it just plays black.  The video still exists on my desktop but even when I delete the files from imovie and reimport them the file is still in zero fps and play black.

    somehow changed a video in my imovie to zero fps, so it just plays black.  The video still exists on my desktop but even when I delete the files from imovie and reimport them the file is still in zero fps and play black.

    I'm not sure of your question.
    Are you asking how to use Photoshop?
    Or are you asking for the dimensions of video iMovie uses?
    It edits in 720P HD, which is 1280x720.
    You can make it a bit bigger so you can zoom in.
    Much bigger then this is a waste of time.

  • Issue with FTP command while deleting a file.

    Hello All,
    I am trying to delete a file from the FTP server after the file is processed. I am able to connect to the server, I am able to pick the .csv file and place the data in an internal table, and am able to process it as required in SAP. After the processing, I need to delete that file from the FTP server. I did not change the working directory and gv_filename is the variable which is holding the filename. I am using the following code
    concatenate 'delete' gv_filename into lv_cmd separated by space.
      REFRESH mdata.
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = gv_handle
          command       = lv_cmd
        TABLES
          data          = mdata[]
        EXCEPTIONS
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          OTHERS        = 4.
    When I check the mdata which returns the result of the command, I get the message 550: unable to delete <pat>\filename,
    where as the file does exist. Is there any condition where in we may not be authorized to delete the file? If so is there any way to check that?
    Thanks and Regards,
    Sachin

    Hi Sachin Dargan,
    Yes.. You need to get read and write access for the directory of FTP file server where it is located..
    Ask to BASIS or Network admin to give your authorization for it..
    Also using upper case in single quotes is better.. as sometimes it may cause problem..
    concatenate 'DELETE' gv_filename into lv_cmd separated by space.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • How to delete the file with space in name

    Hi
    I want to delete the file "test ex.txt" file.
    i run the following command in command prompt.i can delete the file successfully.
    /bin/rm -f /mnt/"test ex.txt"
    I want to run the command from java.So i am using the following code
    String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
         Runtime rt = Runtime.getRuntime();
    process = rt.exec(cmd);
    The file was not deleted.
    How to delete the file with space in name?
    Help me

    Use the form of exec that takes an array of command + args.
    arr[0] = "/bin/rm"
    arr[1] = "-f"
    arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls.

  • How can I delete the files .DS_store in Mac OS Yosemite?

    How can I delete the files .DS_store in Mac OS Yosemite?

    The .DS_Store file is normal. It holds certain settings related to the folder it is found in. Removing these files is futile, as they will come back, as you have observed.
    If you are seeing them on your Mac, that means you have changed settings so that your Mac is showing invisible files in the Finder. To reverse that, run the following command in the Terminal:
    defaults write com.apple.finder AppleShowAllFiles NO
    This will hide them, and any other invisible files, from view.
    If you are seeing them on a Windows machine, just ignore them. They're not doing any harm.
    If you found a Terminal command that is supposed to stop them from being created, I would be extremely skeptical as to the wisdom of running it.

  • I followed your help directions on "Corrupt extension files" under "Unable to install add-ons", foolishly deleting the files you told me to. Now firefox won't open. I tried reinstalling firefox but it still won't open. Now what do I do?

    I was trying to install the SEOQuake add on. After clicking install Firefox would hang up saying the script had timed out and asking if I want to stop it or continue. Didn't matter which option I chose nothing would happen. The only way to stop it was to close Firefox and restart. Tried restarting the computer. Still wouldn't install. Tried installing the Outwit add on and got the same error leading me to conclude it was a problem with Firefox, not the add on. I found this help page <http://support.mozilla.com/en-US/kb/Unable+to+install+add-ons?s=addons+won't+install&as=s> and did everything it told me to. Finally at the end I got to "Corrupt extension files". I foolishly deleted the files you told me to and now Firefox won't even start! I tried reinstalling Firefox and it still won't start. Tried restarting the computer. I have no idea how to get back to where I was let alone install the add ons I wanted to install. Please help. At this point I'd just be happy to be able to get Firefox working.

    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    Create a new profile as a test to check if your current profile is causing the problems.<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)<br />
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Unable to delete the files from CSV volumes on HyperV Cluster

    Hello There,
    I have a HyperV failover cluster with CSV Volumes recently i moved some of the VMs to another cluster.
    VMs are moved but i still have the VM files on the CSV volumes which are occupying the disk space i tried to delete the VHD files / VM folders which are moved but it doesn't delete the files, please suggest.
    This file when i browse it from  a server and delete the file it disappears but when i revisit the folder i find the files still on the disk, i did try to delete the files directly
    from the server through command line as it is running server core.
    Regards,
    Maqsood
    Maqsood Mohammed Senior Systems Engineer MCITP-Enterprise Admin & ITILv3 Foundation Certified

    HyperV is good about not allowing you to delete files while they are still in use. You can try to reboot host, make sure all parts if your VM moved to the new location. If that VHD is associated with a VM on any host you will not be able to delete
    it. Delete the VM's that may have links to it. Not knowing you configuration could it be a parent disk?  Be carful because if you can't delete it it's likely in use, I've see VHD merge after you delete a VM too preventing you from deleting the files.
    You may just want to wait a day or so and see if it free's up. If it is doing a merge reboot will pause and restart it so you won't be able to remove until the merge is done, once you delete a VM and a merge starts there is no way to tell if it's merging,
    watch the size and timestamp of the VHD is it changing if it is something is using it.

  • Will not print files from mobile phone says it **may have** a virus- and deletes the file

    My HP photosmart premium with wireless ePrint, will not print files from mobile phone says it **may have** a virus- and deletes the file?!? My Fiance has the same phone, and I used it. It completed the file??? If I text message and E-mail address, my cell phone will come up as and E-mail address... has anyone else had this issue? Is it because I texted the the file? It didn't seem to be and issue on any of the other mobile phones used.... I am out of answers.... I tried to E-mail as well...
    Thanks in advance

    I have nearly the same problem, the printer discards my print job even when i have entered my email address as authorised senders.
    Details from my other post:
    I sent 2 emails to the printer:
    - one is a 3 lines of text and numbers in a GIF file sent as an attachment
    - another is a jpg circuit diagram paste in a word doc sent as an attachment
    both are classified as spam and refused to print. i have no email coming back saying it failed (even i have checked "Email Job Status" in ePrint Settings.
    So what will this HP printer print?
    How can I switch this useless spam filter off?
    I have get this filter off! I need this email printing to work reliably, that is a major reason I bought this printer
    Any suggestions are welcomed...
    HP's slogan on the box:
    "Now you can print from virtually anywhere" (but get discarded every single 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.

    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?

  • HT203200 Cannot delete the file from the itunes folder

    I cannont delete the file from the itunes folder because it tells me I need permission to do so.  I am the admin person for the laptop plus I have checked my permissions under the security tab in the files properties.  How do I delete this file to start again?  It downloaded 1.2GB of the file before the error message appeared, so its paid for and all but not looking like I'll get to watch it before the time runs out on the movie being available for me to watch. :-(

    Try deleting the file without iTunes running.
    When you next open iTunes it should then be marked as a missing file and you should be able to delete the entry from iTunes.
    Hope this works
    Regards,
    Colin R.

  • 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

  • Delete the file from AL11

    hi all,
    how to delete file from application server(al11)?
    apart from using EPS_DELETE_FILE
    and writing a code  any other go to acheive it
    regards
    venkat

    Hi,
    AL11 is a tool to view files that exist on the operating system of the SAP instance (which I think is Rainer's point). 
    The only way to delete this files is either programatically (with the function module you mention or other ways) or to log onto the operating system directly and delete the file.  In either case you are not deleting them from AL11, you are deleting them from the operating system.
    Regards,
    Nick

  • File from application server -Read and process and delete the file .

    Hi All,
             I writing a ZEE program which will read the file from application server(file will be in text delimat format) and moving the data to internal table and uploadind data base.The part which iam facing problem is -
    > I hve read the file from application server like below ,
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
    Spliting part i having problem .i need to seperate each field which is seperate from tab delimite and pass it into respective fields of internal table .
    Second if another file come to the appicaltion server , wether my first file will be there ? or should i need to delete the first file after redaing how should i proceed further ?.
    Regards
    SRIRAM...
    THANKS In ADVANCE

    HI,
    1.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    DO.
    CLEAR: wa_string, wa_uploadtxt.
    READ DATASET ld_file INTO wa_string.
    IF sy-subrc NE 0.
    EXIT.
    ELSE.
    SPLIT wa_string AT cl_abap_char_utilities=>horizontal_tab INTO wa_uploadtxt-name1
    wa_uploadtxt-name2
    wa_uploadtxt-age.
    APPEND  wa_uploadtxt TO itab.
    ENDDO.
    CLOSE DATASET ld_file.
    ENDIF.
    2. If the another file get's generated in the application server with same file name then the data in old file get's over written with the new data. You are not required to delete the file.

  • Delete the file from the external hard drive

    deleted adobe reader 10, delete the file from the external hard drive. how to restore

    What is your operating system & version?
    How did you "delete" Adobe Reader?
    What "file" did you delete?
    What do you want to restore?

Maybe you are looking for