Deleting unwanted files from desktop

oconnr1

Registered
I have a G5 (OS X 10.4.3).
After loading/transferring my archived digital photos from DVD into iPhoto I have >8000 JPEG files on my desktop - all marked as 0 bytes. On attempting to delete these I get a Trash splashscreen asking for confirmation to continue - for every file!, no batch deletion available. (message says files in use by another application.)
I've tried repairing permissions and rebooting.
Any help appreciated.
 
01. Launch 'Terminal' ('/Applications/Utilities/' folder) and enter

rm -rf

... with a space (via the 'spacebar') after the 'f' in '-rf'

02. Locate and double click on the 'Desktop' folder in your specific Users folder.
03. Do a 'Finder' 'Edit, Select All' ('Command A'), and deselect any files you want to remain on the 'Desktop' - by <shift> clicking on them.
04. Drag the remaining selected 'Desktop' folder files onto the 'Terminal' window.
05. Click once on the 'Terminal' window, and then press the <return> key. If asked for a password, enter it and press the <return> key.

Note: Be careful performing the above steps, since any files deleted can not be recovered.
 
Back
Top