dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


Organizing Files by File Type

Feb 14, 2009, 10:02 (0 Talkback[s])

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


"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: