ihateapple.net

Main Forum Index

Forum Home

Post Reply

Email Forum Admins

Log In

Search Forums

Read Messages

Send a Message

Edit Your Settings

Forum Rules

Help


Here's an interesting problem. .....
By:  Bean (Moderators; 17094)
Posted on: 11-21-2019 07:43.
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
IP: Logged 
Message views: 26 (Score: 0)  


Again, my mother's computer. She has no idea what she's doing. Not even the barest idea. Every time she sees an interesting web page she either takes a screenshot of it or copies and pastes it into Pages. Fucking ridiculous.

Last night she asked me to help her back up photos from her phone on the computer. Easy enough. Except the computer is nearly unresponsive and it can't open the Photos catalog.

I swipe up to change windows and it barely responds. She has nearly two hundred windows open in Pages because she doesn't close them after pasting (and usually doesn't save either). After getting all of those closed it's still nearly unresponsive. Restart. Still unresponsive. Look at processes. Finder is running at 100% CPU and another one is running at 600% CPU.

After a little digging, I think the problem is that she has saved roughly 23000 screenshots on her desktop and the machine is sitting there trying to chew through all of those to generate preview images for the icons and display them. The obvious solution is to move those somewhere else. However, the next problem is that command-line tools are blowing up when I try to move them because of the number of files. Typically they say something along the lines of "too many arguments." I tried to move them two ways. First using mv and *.* then mv and -f type *.png*

Thinking about it this morning, it seems like maybe if I could just tell it to increment through the directory moving 1000 files at a time into some other directory that might work. but that's a bit beyond my command line knowledge and most stuff out there on stack exhange is for some form of Linux which is similar but not always the same. Any thoughts on how to script that?

-------------------------------
Look again at that dot. That's here, that's home, that's us. On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. The aggregate of our joy and suffering, thousands of confident religions, ideologies, and economic doctrines, every hunter and forager, every hero and coward, every creator and destroyer of civilization, every king and peasant, every young couple in love, every mother and father, hopeful child, inventor and explorer, every teacher of morals, every corrupt politician, every "superstar," every "supreme leader," every saint and sinner in the history of our species lived there – on a mote of dust suspended in a sunbeam.