[nflug] file name extensions
Robert Meyer
meyer_rm at yahoo.com
Thu Nov 16 14:45:23 EST 2006
Ohhh... complexity to add.... :-)
#!/bin/bash
for name in `find directoryname -type f -print`; do
mv $name ${name}.sxw
done
----- Original Message ----
From: eric <eric at bootz.us>
To: nflug at nflug.org
Sent: Thursday, November 16, 2006 1:40:11 PM
Subject: Re: [nflug] file name extensions
How would I recurse into sub directories(I'm in bash)
Robert Meyer wrote:
>in bash:
>#!/bin/bash
>for name in `ls <directory of files`; do
> mv $name ${name}.sxw
>done
>
>
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list