Thread
:
linux shell gurus, need a command
View Single Post
03-20-2006, 02:37 PM
High Plains Drifter
Confirmed User
Join Date: Jun 2005
Location: ♠ ♣ ♥
Posts: 2,341
cd one/
for i in `ls`; do mv $i one-$i; done
cd two/
for i in `ls`; do mv $i two-$i; done
cd three/
for i in `ls`; do mv $i three-$i; done
__________________
Last edited by High Plains Drifter
; 03-20-2006 at
02:40 PM
..
High Plains Drifter
View Public Profile
Visit High Plains Drifter's homepage!
Find More Posts by High Plains Drifter