Re: renaming all files into a path (including into subdirs)



slystoner wrote:
Stephane CHAZELAS ha scritto:
2007-01-02, 14:14(+01), slystoner:

echo "$(find . -type d)" | while read i;

What's the purpose of using it here?
[cut]
What if the directory component of $j contain spaces.

I use
echo "$(find . -type d)" | while read i;
beacuse it works with filenames containg spaces!

find . -type d | while read i;

works for me even with directories containing spaces.

Janis
.