Recovering data from the folder
Hopefully you have a backup of your files so you can safely format your drive if needed; however, if not then before formatting to clear the problem, you might be able to recover the data stored in the problematic folder by using a sequence of Terminal commands:
- In the Finder, create a folder named "Temp" on your Desktop
- Select the problematic grayed-out folder, and press Command-C to copy its path.
- Open the Terminal utility
- Type "mv -v" followed by a single space, and then press Command-V to paste the copied folder path.
- Press Delete once and then type "/* " with a single space following the asterisk.
- Locate the new Temp folder on your Desktop, and then similarly select it and press Command-C to copy its path.
- Paste the path in the Terminal, so the full command will look similar to the following:
mv -v /Path/to/the/folder/* /Users/username/Desktop/Temp
With this command assembled, pressing Enter should move the folder's contents to the new Temp directory. You should see each file listed as it is moved, and when done the Terminal will drop you back to the command prompt. You can now back up the files, and then consider formatting your drive and restoring your files.
No comments:
Post a Comment