[wellylug] BASH scripting help required

E.Chalaron e.chalaron at xtra.co.nz
Fri May 7 13:33:01 NZST 2004


Blank space in a file name.........

> blank files or blank lines?

> empty lines are matched by /^$/ and empty files can be matched with
> test. Especially look at the -s test (matches files that exist and
> aren't zero length).

So when you get a succesion of directories with blank spaces
such as 
/home/edouard/this\ dir/file\ test.txt
Can you rename the all lot such as
/home/edouard/thisdir/filetest.txt

Thanks
Edouard




More information about the wellylug mailing list