script #!/bin/bash, problem with space in file names
HEllo,
I have the script like bellow, but I have a problem when the file in directory "~tmp/" has name with white space, for instance "big and boss.htm". then $i equal just firs part of the file name fo instance "big" and not whole name. thats the problem,
do you know how to do it "correct"?
----------------------------------------
#!/bin/bash
cd /home/tmp
for i in `find . -type f`
do
.....
done
------------------------------------------
THANKS O LOT!!!!
Tom_ex
|