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


Reply

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text.
  • Each email address will be obfuscated in a human readble fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.
  • Images can be added to this post.

More information about formatting options

Captcha Image: you will need to recognize the text in it.
Please type in the letters/numbers that are shown in the image above.