[nflug] file name extensions

Robert Meyer meyer_rm at yahoo.com
Thu Nov 16 11:47:13 EST 2006


in csh:
#!/bin/csh
for each name (`ls <directory of files>`)
   mv $name ${name}.sxw
end

in bash:
#!/bin/bash
for name in `ls <directory of files`; do
   mv $name ${name}.sxw
done

Cheers!

Bob

----- Original Message ----
From: eric <eric at bootz.us>
To: nflug at nflug.org
Sent: Thursday, November 16, 2006 11:39:43 AM
Subject: [nflug] file name extensions

anyone know how I can add an extention name like .sxw to 1000's of fun files

I hear growns :)
_______________________________________________
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