Re: Bash Help: Renaming all files in a Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, the loop will have f=Family Pic 001.jpg but the mv command will
fail unless you use "$f" because mv will see it as 3 file names,
split at the spaces.

You are, of course, correct.  That is why I end up playing with stupid
little scripts like that with "echo" inserted before the
possibly-data-descructive command.

Ah well...

--wpd


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux