Organizing Files by File Type
Feb 14, 2009, 10:02 (0 Talkback[s])
"Create a file named organize_files, and paste this into it.
"#!/bin/bash
cd $2
for i in *$1; do mv `basename $i $1`$1 $3; done"
Complete
Story
Related Stories:
- Wrap text using linux fold(Feb 14, 2009)
- A few Linux terminal commands to spice it up(Feb 13, 2009)
- Create a file with given size - Linux dd command(Feb 12, 2009)
- Colorful man pages in linux(Feb 12, 2009)
- How to be Faster at the Linux Command Line(Feb 05, 2009)
- Chaining Linux Commands Together(Feb 03, 2009)
- Take a hard look at the command line(Feb 03, 2009)
- Four Completely Useless Linux Commands(Feb 03, 2009)
- How to find the shell you are using(Feb 02, 2009)
- 10 Tips for Writing Efficient Bash Scripts(Feb 02, 2009)

