Trying to select a folder crashes everyth…
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Every time I try to select this one particular folder or its alias whatever process I'm using crashes. Click on it and Finder restarts. Click on its alias, Finder restarts. Try to save a file to it from Safari, Firefox or Chrome and the "Save" or "Save as" dialog quits. Try to save a file to it from Preview, Affinity Photo, iPhoto/Photos or Nikon ViewNX-i and guess what, the "Save," "Save as" or "Export" dialog quits. The process always quits the moment I click on the folder or its alias. It doesn't wait for me to hit the button, the quit happens the moment I click on the folder's name. The only thing that half-way works is to right-click on it and scroll down to "Get info" while holding the mouse button down. I can "Get info" on it that way; any other selection in that menu and it quits. Haven't tried "Move to trash." Don't want to. Disk Utility finds nothing out of the ordinary. Thoughts?
(Please don't suggest that I buy DiskWarrior. Seriously? $120 to fix one folder? No.)
15 replies
Sign in or join Beachball Help to reply.
- 0
leroydouglas ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Every time I try to select this one particular folder or its alias whatever process I'm using crashes.
Click on it and Finder restarts. Click on its alias, Finder restarts.
Try to save a file to it from Safari, Firefox or Chrome and the "Save" or "Save as" dialog quits.
Try to save a file to it from Preview, Affinity Photo, iPhoto/Photos or Nikon ViewNX-i and guess what, the "Save," "Save as" or "Export" dialog quits.
The process always quits the moment I click on the folder or its alias.
Haven't tried "Move to trash." Don't want to.
Disk Utility finds nothing out of the ordinary.
Sounds like a corrupt folder / alias.
From terminal app you can move the content of the folder to a new folder.
create a new folder(newfoldername) in the same location in your user
Open a terminal and execute this command:
mv -v ~/oldfolder/* ~/newfoldername/You can drag and drop the folders into the terminal window for the complete path if you have issues.
therfore you start: mv -v (drag and drop your troubled folder) add /* to the end like example above;
then a space to separate, and drag your newfolder to the terminal window.
Now test your new folder you have access to those encloses files/folders/etc
- 0
leroydouglas ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
It is well known—Don't use slashes in your file names. The system reserves them for its own special purposes and you will run into problems if you include a slash (or a colon) in the file name.
If the file name has " " included in the file name you may still be in luck.
Did you try:
sudo mv -v ~/oldfolder/* ~/newfoldername/ - 0
J Hayes ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Great. Both folders have disappeared from their previous location and I'm getting a "The home folder for user [me] isn't located in the usual place or can't be accessed." The home or Users folder may have been moved or deleted. If the home folder is located on the network, the server may be temporarily unavailable. If you continue to have problems, see your system administrator.
- 0
leroydouglas ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
You can do a spotlight search for where you moved the files to, if you do not know what you did.
From terminal you can see your history of commands entered, copy and paste:
historynow copy and paste here, the chunk of commands/paths you entered to get to your present situation.
- 0
J Hayes ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
72 mv -v /Users/jchayes/Movies/YouTube/Ampics/Kwai : Asian Girl /* /Users/jchayes/Movies/YouTube/Ampics/Kwai /
73 ls -l /Users/jchayes/Movies/YouTube/Ampics/Kwai : Asian Girl
74 sudo mv -v /Users/jchayes/Movies/YouTube/Ampics/Kwai : Asian Girl / /Users/jchayes/Movies/YouTube/Ampics/Kwai /
75 history
- 0
J Hayes ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
No. Both folders, source and destination, were moved to my root directory - which is apparently what caused the "home folder has been moved..." errors. The destination folder is viewable but empty. Spotlight is not exactly useful since a search for, for example, "kw" (looking for "kwai..."), crashes as soon as Spotlight encounters that folder... but only if it's in its original location. If it's in my root directory Spotlight finds it without crashing. Wha?!?!?
I think you've sent me in the right direction for me to fix this on my own.
Oh, well. I was hoping that I wouldn't have to learn Unix. Surprise!
Thanks
- 0
J Hayes ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
As things stand right now, any attempt to move the contents of that folder moves the folder. You did not read that wrong: everything I've tried in order to extract the files from the folder either crashes or moves the folder, not the files. Or rather, it moves the files by moving the folder. Spotlight no longer crashes unless I touch the folder and that has been useful. I've removed 215 files from it courtesy of Spotlight but according to "Get Info" that leaves 210 still inside, a number I don't trust because 415 is not reasonable as a starting point. 215 is...
- 0
J Hayes ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Okay kiddies, sit down and pull your seat belts tight, it's a fun ride. No, not really, not fun at all.
It's a virus.
The original symptom looked like a corrupted folder but wasn't. What's a folder? It's a file that contains a list of pointers to the files it "contains." What happens when you touch - select - a folder in column or list view? The OS goes through that list getting display names, icons, creation dates, etc. Why is this important? Because as soon as Finder hits the bad file either 1) the file kills the process, or 2) it tries to do something nefarious and the OS kills the process.
That's why Leroy's mv command didn't work. It got interrupted. It should have moved the contents into a new folder but instead moved both folders into my root directory.
And by doing so exposed a weakness: apparently, when you change its position in the directory tree it temporarily becomes vulnerable. You can't touch the folder until you move it, once you move it Finder can search inside it, list its contents, etc. Spotlight and a bunch of other things still won't work but, hey, it's a start.
So how do you fix this?
1) Move the folder. Remember that "temporary vulnerability" I mentioned?
2) Create two new folders to receive the files that are now in the "corrupted" folder.
3) Create an alias to one of the new folders and...
4) Put that alias on the desktop.
5) In a Finder window start dragging the files ONE AT A TIME from the "corrupted" folder to the icon on your desktop.
6) Watch the icon as you drop each file unto it - when you find the culprit the icon will blink as you drop the file unto it. Each time it doesn't blink you've found a "good" file. Move the good file from that folder to a safe place. When you see the blink, the folder will contain one file - the virus.
When you find the bad file - I had 4 all downloaded from YouTube on the same day - DO NOT PUT IT IN THE TRASH! What is "Trash?" It's a folder and now we know what this thing does to folders...
- 0
- 0
Old Toad ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Care to share your full solution?
- 0
J Hayes ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Just one little problem: the name of the folder contains " / "...
- 0
- 0
J Hayes ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Or do you want all 75 lines?
- 0
leroydouglas ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Highly doubtful unless they are somehow related.
Do you see your files in your new folder and have access?
ls -l /Users/jchayes/Movies/YouTube/Ampics/Kwai / - 0
leroydouglas ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
GOT IT!
Got what— we are all here to learn something.