Home > Questions

How to recover accidentally deleted files when using the wrong Applescript command?

I was going to transfer photos from a memory stick to my computer. Then I input "make folder" with Applescript, and I checked and found that my photo folders disappeared and an untitled folder poped up. I have downloaded MacKeeper to scan all my files. Does anyone know why the command deletes my files and how can I recover my important photos?

Best Answered by

iBoysoft author Yuri Zhang

Yuri Zhang

Answered on Monday, April 29, 2024

AppleScript is a scripting language coming from a Mac application - Script Editor. It can help you delete, and format your lost data from a Mac hard drive or storage media device. And MacKeeper enables you to remove files or erase the files on the hard drive.

The reason why the folders created by the script were affected is likely due to the specific path used in the command. It targeted a specific location in your file system and created a new folder there, potentially overwriting existing folders or causing unexpected behavior.

Next time, please use the right command in Applescript as follows:

tell application "Finder" to make new folder at folder "Canon EOS T1i" of folder "Pictures" of folder "Steveporter" of folder "Users" of disk "Macintosh HD"

Please do not operate on your folders again to make sure the disk space they occupied hasn't been overwritten by new data. Here are some general ways you can take for file recovery:

1. Use reputable data recovery software: iBoysoft Data Recovery for Mac, this data recovery software can deeply scan the hard drive and find all lost files, follow the instructions provided by the software to scan your disk and attempt recovery.

2. Check backups: If you have backups of your photos, consider restoring them from your backup storage.

3. Seek professional help: If you're unable to recover the files yourself, consider consulting with a data recovery professional or a tech support specialist who can assist you further.

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

Cómo reparar archivos PSD corruptos en Mac y Windows

[2 Formas] ¿Cómo reparar un archivo PSD dañado en Mac y Windows?

Si estás buscando soluciones para la recuperación de archivos PSD dañados, esta publicación es ideal para ti, se incluyen opciones gratuitas y pagas. Además, descubrirás por qué ocurre la pérdida de archivos PSD.

recuperacion de datos mac

sélectionnez un module de récupération

Meilleures applications de récupération de carte SD et directives

Cet article vous explique comment récupérer une carte SD à l'aide du meilleur logiciel de récupération de données de carte SD lorsque vous avez perdu des photos, des vidéos, de l'audio et d'autres fichiers, ainsi que des solutions pour résoudre les problèmes de carte SD.

corrigir fusion drive dividido sem perder dados

Como corrigir um Fusion Drive dividido no iMac e recuperar dados?

O Fusion Drive está dividido em duas partes no Finder e no Utilitário de Disco no Mac/Mac Mini? Este post guia você a corrigir um Fusion Drive dividido no Mac. Além disso, ele conta como recuperar dados do Fusion Drive.

recuperacion de datos mac