Here’s a little shellscript. Run it either from your desktop or your home directory or whatever. If you have Windows, get Cygwin and run it with that.
What it does is pretty self explanatory. Over the years it’s gone a long way to helping me keep my filestructure organized in a consistent, easy way. You can add other files and folders to this as you see fit; a good rule of thumb is that if you run it and there’s much left on the desktop, you need to add a few filetypes.
After ten or so iterations of running this, go through the filestructure under Organize, ordering your view by filesize, and look at the largest files. If you can, delete them. There’s triage right there.
!/bin/sh
cd ~/Desktop
mkdir Organize
mkdir Organize/Images
mkdir Organize/Video
mv *torrent Organize
mv *tgz Organize
mv *jpg Organize/Images
mv *JPG Organize/Images
mv *gif Organize/Images
mv *wmv Organize/Video
mv *mpg Organize/Video
mv *avi Organize/Video
mv *WMV Organize/Video
mv *mp3 Organize
Reply
Kinkless is a website about simple tools and ideas that help us work, play and create.
It is entirely the fault of Ethan Schoonover. Ethan is a photographer and geek based in Hong Kong. He’s fond of music. More about him here.
Re: Kinkless Desktop 1: The "No Mercy" Cleanup
Here’s a little shellscript. Run it either from your desktop or your home directory or whatever. If you have Windows, get Cygwin and run it with that.
What it does is pretty self explanatory. Over the years it’s gone a long way to helping me keep my filestructure organized in a consistent, easy way. You can add other files and folders to this as you see fit; a good rule of thumb is that if you run it and there’s much left on the desktop, you need to add a few filetypes.
After ten or so iterations of running this, go through the filestructure under Organize, ordering your view by filesize, and look at the largest files. If you can, delete them. There’s triage right there.
!/bin/sh
cd ~/Desktop mkdir Organize mkdir Organize/Images mkdir Organize/Video mv *torrent Organize mv *tgz Organize mv *jpg Organize/Images mv *JPG Organize/Images mv *gif Organize/Images mv *wmv Organize/Video mv *mpg Organize/Video mv *avi Organize/Video mv *WMV Organize/Video mv *mp3 Organize