[wellylug] Blank in file names ?

Chris Targett xin at xlevus.net
Fri Apr 23 17:41:09 NZST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob Stockley wrote:
| On Fri, 2004-04-23 at 17:21, E.Chalaron wrote:
|
|>e.g.
|>transforming  MY FILE.whatever in MY_FILE.whatever
|
|
| You could make a quick and dirty script like this:
|
| #!/bin/bash
| mv $1 `echo $1 | tr ' ' '_'`
| # end of script
|
| Rob
|
|
Debian.. if your using debian.. has a tool called rename, but its
different in gentoo so I can't provide any accurate working examples,
but i think its: rename * 's/ /_/'


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAiKx1ubpxl5E8/1wRAmIhAKCiQgZ2GhUCLDVdngaSPONdUFEfVQCgh5IT
VZe9hPADyR6sJm9UyOKfZTU=
=buK5
-----END PGP SIGNATURE-----




More information about the wellylug mailing list