Applescript Deleted Files via "Make Folder" command

As I was working on an app to transfer photos from my memory card to my computer, I opened a new applescript window to do some testing of the next part of it separate from the main script. I did a simplet "make folder" command to make sure I had the right path. I went to the location I set (my photos library) and one by one, my photo folders started to disappear! This is the code Applescript ran:
tell application "Finder" to make folder in folder "Canon EOS T1i" of folder "Pictures" of folder "Steveporter" of folder "Users" of disk "Macintosh HD" of application "System Events"
The weird part is, ONLY the folders the app made were effected. I have other photos outside of folders that were not deleted, and my iChat Icons folder is still there. I also have the ""Untitled Folder" created by the script.
Does anybody know why in the world that one line in a script would delete my entire photos library? There were no other scripts running, the only apps were Safari and Applescript. I'd also like advice on how I can recover my photos. I downloaded the trial of MacKeeper and it is currently scanning my iMac for recoverable files. Thanks!

I have not heard good things about WD external enclosures.  The drive are supposedly OK.  Take drive out put in another enclosure.
Stop using the drive immediately.
Get  an external drive.  I like OWC.
I recommend you do a google search on any external harddrive you are looking at.
I bought a low cost external drive enclosure. When I started having trouble with it, I did a google search and found a lot of complaints about the drive enclosure. I ended up buying a new drive enclosure. On my second go around, I decided to buy a drive enclosure with a good history of working with Macs. The chip set seems to be the key ingredient. The Oxford line of chips seems to be good. I got the Oxford 911.
Has everything interface:
FireWire 800/400 + USB2, + eSATA 'Quad Interface'
save a little money interface:
FireWire 400 + USB 2.0
This web page lists both external harddrive types. You may need to scroll to the right to see both.
http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATA_FW800_FW400_USB
The latest the hard drive enclosures support the newer serial ata drives. The drive and closure that I list supports only older parallel ata.
Here is an external hd enclosure.
http://eshop.macsales.com/item/Other%20World%20Computing/MEFW91UAL1K/
Here is what one contributor recommended:
http://discussions.apple.com/message.jspa?messageID=10452917#10452917
Folks in these Mac forums recommend LaCie, OWC or G-Tech.
Here is a list of recommended drives:
http://discussions.apple.com/thread.jspa?messageID=5564509#5564509
FireWire compared to USB.  You will find that FireWire 400 is faster than USB 2.0 when used for a external harddrive connection.
http://en.wikipedia.org/wiki/Universal_Serial_Bus#USB_compared_to_FireWire
http://www23.tomshardware.com/storageexternal.html
Here is my list.  Your going to need another external drive to recover the data wit these utilities anyway.
Boot in safe mode. Hold down the shift key when powering on the machine. This will run a disk repair program. Boot up will take longer as the harddrive is scanned and repaired.
See this article:
http://docs.info.apple.com/article.html?artnum=107393
Or from mrtotes article :
Boot from the OS X Install disk and from the Menu Bar choose Disk Utility. Then run "Repair Disk" and "Repair Disk Permissions" on your hard disk.
Here the apple article on booting single user mode and using fsck. See the section on Use fsck:
http://docs.info.apple.com/article.html?artnum=106214
Perhaps Disk Warrior will be of some help:
http://www.alsoft.com/DiskWarrior/
"Stellar Phoenix Macintosh - Mac data recovery software, recovers data from damaged, deleted, or corrupted volumes and even from initialized disks."
They have a trial version, so I guess you can see if your data can be recovered...
http://www.stellarinfo.com/mac-data-recovery.htm
"Data Rescue II is the best data recovery software on the market for recovering files from a problem hard drive. Data Rescue II works when other tools fail. Data Rescue II is also completely safe to use since it does not attempt any risky repairs to the drive while its scanning."
http://www.prosofteng.com/products/data_rescue.php
FileSalvage is an extremely powerful Macintosh application for exploring and recovering deleted files from a drive or volume.  FileSalvage is designed to restore files that have:
-- been accidentally deleted.
-- become unreadable due to media faults.
-- been stored on a drive before it was re-initialized/formatted.
http://subrosasoft.com/OSXSoftware/index.php?main_page=product_info&products_id= 1
"TestDisk is a free data recovery utility. It was primarily designed to help recover lost data storage partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally erasing a partition table)."
http://en.wikipedia.org/wiki/TestDisk
"*Hard drive data recovery and warranty implications*
Hard drives that have become non-functional through normal use, and have had data recovery performed on them by DriveSavers or Ontrack Data Recovery can be returned to Apple for warranty service. This includes products covered by the AppleCare Protection Plan. The cost of any data recovery attempts is not covered by the Apple Limited Warranty."
http://support.apple.com/kb/HT3974?viewlocale=en_US
Entering:
mac data recovery
into Google will list some firms who specialize in recovering data. Data recovery isn't cheap.
Examples:
1) Ontrack Data Recovery is the world leader in data recovery services and data recovery software offering the fastest,  most convenient and cost-effective solutions to clients who have experienced data loss.
http://www.ontrackdatarecovery.com/
2) Enter the world of DriveSavers Data Recovery…
    * Data Recovery Tools
    * Data Recovery Process
    * Data Recovery Cleanroom
http://www.drivesavers.com/
"Encryption:  DriveSavers engineers have been trained and certified by leading encryption vendors, such as GuardianEdge, Utimaco Safeguard, PGP and PointSec, to safely recover file-level and disk-level encrypted data"
http://www.drivesavers.com/recovery-services/encryption/
List of recovery software tried:
http://discussions.apple.com/post!reply.jspa?messageID=11100707
Robert

Similar Messages

  • Hello, I have accidentially deleted files in root folder of my iPad(1). Now iPad is dead completely. I would really appreciate if anyone could help me fix this. Thanks in advance.

    Hello,
    I have accidentially deleted files in root folder of my iPad(1). Now iPad is dead completely. I would really appreciate if anyone could help me fix this.
    Thanks in advance.

    Support for jailbroken devices cannot be given here. Go to the website that helped you get root access in the first place.

  • Cannot delete file from shared folder

    While I was looking for another file in my shared folder, I discovered a jpg file named shannonhenry.jpg. All it appears to be is a school photo of a boy, maybe 14 or so. I tried to move it to trash to delete it because I do not know who this kid is, and I got an error message saying that I do not have sufficient priviledges. Anyone know what this file is or could be????

    Well Kelley, that photo did not come with the system so it had to come from you or someone else putting in the Shared folder.
    Choose the file and "get info" (command- i) turn the dislclosure triangle on "Ownership & Permissions" make sure you can "read & write" and make yourself the "owner"(open the lock and enter your admin password).
    Then check under General, turn the disclosure triangle and be sure the "locked" box in NOT checked.
    Let us know.
    -mj
    [email protected]

  • How do I delete files to make room on my start up disk?

    My husband used to maintain my computer and now that I'm alone I'm having to discover things for myself. I keep getting a message saying "Start up disk nearly full. Delete some files to make room." I save everything to my iDisk by connecting to it via "Go"on the toolbar. There is also a Mac HD icon on the desktop that I have dragged my folders into as well, so I don't know where to go from here. It seems I have only 564KB of memory left on my machine and I presume it is related to the start-up disk message. Advice in simple steps would be greatly appreciated please. Thanks.

    Download and run Monolingual, and delete unneeded items from the /Library/Printers/, /Library/Packages/, and /Library/Updates/ folders. Monolingual should not be used to delete architectures on an Intel Mac, as some of these are necessary for Rosetta.
    (54268)

  • My macbook start up disk is full and i have to delete files to make room for updates. how do you make room on start up disk?

    how do you delete files from start up disk on my mac book?

    Freeing Up Space on The Hard Drive
      1. See Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.
    Please read my user tip to learn all about "Other:" What is "Other" and What Can I Do About It?- Apple Support Communities.

  • Deleting files via Finder menu--all I see is Secure Delete

    What happened to the plain old "Delete Files" option in the finder menu? I just loaded Tiger, and all I see is the "Secure Delete" option. While I find it a useful tool, sometimes it just takes too long if I am deleting large files.
    Any thoughts?

    Perhaps you should consider reinstalling Tiger. I just checked my wife's computer (10.3.9 installed) and it, too, has both menuitems.

  • Deleting files from trash folder 10.9.2

    I recently updated to 10.9.2. Nothing seemed to have changed but the trash folder is acting funny. Now I am not able to delete any file from the trash. I select empty trash securely and then the dialog box displaying the number of files to be deleted appears and disappears in 1-2 seconds and the file/s dont get deleted.
    Is there a way out of this?
    Cheers!

    Trash – Can’t Empty or Move File To Trash
    Trash – Empty When File is Locked or in Use
    Try holding down the option button while trying to delete the Trash. If that doesn’t work, here is some more information.
    Trash FAQ          
    Trash Permission Error
    Trash Permission Error (2)

  • Linked PSD files not found when opening .ai files via shared folder

    My main user folder on the iMac is set to be shared (read/write, including all enclosed files) with my MacBook Pro so that I can get someone to help me on a big job. The job is a series of one-page InDesign files (they are newspaper advertisements). The IDD files contain a series of Illustrator files with linked PSD files.
    The idea is that we can both work on the .idd and .ai files in the same folder at the same time.
    It's all working fine EXCEPT that whenever an .ai file is opened on the MacBook, Illustrator doesn't know where the linked PSD files are. We can update the link, but when the .ai file is then opened on the iMac and saved, the same thing happens the next time it is opened on the Macbook.
    I don't want to embed the PSD files into the .ai files as sometimes I have to modify them and they can be linked to up to 20 .ai files. Any ideas?
    G5 iMac OSX 10.7.5 / Macbook Pro OSX 10.8.2 / networked via FireWire cable / file sharing on, laptop user has Administrator status, all files are read/write, permissions include all enclosed files / CS6

    If you are rebooting the computer holding down T to share via firewire, that is your problem. that mounts the other computer as a hardrive and probably messes up the filepath.
    Turn on sharing via Ethernet or wireless
    Connecting two computers using Ethernet
    You can use an Ethernet cable to connect two Mac computers and share files or play network games.
    To connect two computers using Ethernet:
    Connect a standard Ethernet cable from the Ethernet port on one computer to the Ethernet port on the other. You don’t need to use an Ethernet crossover cable.
    If your computer doesn’t have an Ethernet port, try using a USB-to-Ethernet adapter.
    On each computer, choose Apple menu > System Preferences and click Sharing. Note the computer name for each computer.
    In the Finder on one of the computers, choose Go > “Connect to Server,” and then click Browse.
    Double-click the other computer in the window and enter your password, if necessary.
    If you manually configured the TCP/IP settings for the Ethernet service on the computer you are connecting to, you may need to enter that computer’s TCP/IP address in the “Connect to Server” dialog.
    To see or set the TCP/IP address, choose Apple menu > System Preferences, click Network, and select Ethernet in the list.

  • How do I delete files to make available capacity for my startup disk?

    My laptop is constipated and will not startup... I loaded too big of an iTunes library on it.  I connected via firewire and deleted about 40GB of files.  Get info still says I have only 52MB of space and my laptop will not fully startup.  How do I permanently delete unwanted files so my startup disk has enough capacity to start?

    read this: http://guides.macrumors.com/Uninstalling_Applications_in_Mac_OS_X
    and these: http://www.thexlab.com/faqs/freeingspace.html, http://pondini.org/OSX/DiskSpace.html

  • Okay to delete files in Cache Fold

    Is it okay to delete the files/folders under Program files/Creative/Software Update/Cache?
    Thanks,
    Peter

    Peter,
    Yes, it's safe to delete that. That's a temp folder to store the updates you have downloaded when you use the Software Autoupdate from the Creative website.
    Jason

  • HELP! Deleting files in local folder deletes files from Mac HD.

    After "getting" entire remote folder, all folders on my desktop and all folders and files linked to them (thousands) showed up in the Files Panel of my Local Folder. And each had a plus character next it. Worse, deleting one of these files deletes the actual file from my desktop and Mac HD. What can I do?

    The + means it's a folder, click it to see the files within it.
    DW doesn't store any files, it just organizes and works with the files on your desktop, so deleting a file from within DW will delete it from your HD. That is the expected and correct outcome.
    When defining a site, you need to create a root folder for your site files to be stored (don't use your desktop folder). If you don't create a root folder to work from, I could see accidentally including all of your desktop items in your site. If that's what has happened, you need to redefine your site: http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs01-defining-a-new-site/
    Anything that was deleted will need to be restored from a back-up, if that's what's happening.

  • Cant delete file from a folder..

    Hello All,
    I am using Oracle Database 10g on Linux OS
    I want to delete some file using PL-SQL for that I have written following program.
    DECLARE
    fileHandler UTL_FILE.FILE_TYPE;
    BEGIN
    UTL_FILE.FREMOVE ('MY_DIRECTORY','my_filet.txt');
    EXCEPTION
    when others then
    dbms_output.put_line('error is = '||sqlerrm);
    END;
    but when I execute this I get a error message as
    error is = ORA-29283: invalid file operation
    but the Directory Name and File name are valid, though the error is there .Why?
    Pls help
    thanks in advance
    Regards,
    Abhijit.

    It probably has to do with the permissions and file ownership of the target file on the server.
    I tried the same code. I was able to delete a file where the owner was 'oracle' , and got the same error you have mentioned while trying to delete a file of another user with wrong permissions.
    -Ashwin
    Message was edited by:
    ashwinkr

  • Delete files in a folder from stored procedure

    Hello.. my query is ..
    I am having one folder where i am storing some images from backend .. but before storing the new images ..I need to delete all the old images from that folder..
    How to delete all the images at once ..from backend..??
    Thanks !!

    Why do you need a database to do Operating System tasks for you?
    Why don't you use OS script to do that?
    Cheers
    Sarma.

  • How do I delete files and make space

    Please

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • Time capsule and time machine - permanently deleting files to make space

    This may have an obvious answer - I recently bough TC and set up TM. Since TM backsups everything, what do I do if I want to delete a file forever, and never want it to be backed up in TM and take up space in TC? thanks

    How are you trying to access these "old" files? That is are you trying to access them through Time Machine or directly from the Time Capsule using the Finder?

Maybe you are looking for

  • Excise duty in Inbound excise entry missing

    Hi, We have a setup like one plan is selling and other is buying within the same company code. Now, in Billing doc of selling plant, we have Excise duty, but in Inbound excise entry in buying plant, its not taking up the excise duty. Can anyone help?

  • Problems starting Iweb

    I just got an free imac account and I am try to start a website but iweb will not let me use the plus or menu to start a new page

  • Trying to report bug in SQL Server Replication with sp_MSdetect_nonlogged_shutdown stored procedure

    I've just tried to "Submit Feedback" but the page just gives me an error which means nothing to anyone which says "You are not authorized to submit the feedback for this connection.". Why am I not authorised how do I become authorised etc etc. Anyway

  • Datasource creation problem in 7.0 with demo version?

    hi friends, i installed  netweaver demo version. i created infoare and info objects In the left panel select data sources • Create application component(AC) • Right click AC and create datasource in left panel i selected datasources , i went in right

  • ConcurrentModificationException in drawing code

    Hi all, I'm getting a ConcurrentModificationException and I'm having a bit of a hard time figuring out how to prevent it - I can't even really understand why it happens yet. I'm running a simulation of moving bodies in some world, and am using a Swin