Re: Bash Help: Renaming all files in a Directory

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

 




A little while loop would be one way to do this:

ls "Family Pic"*.jpg | while read i; do mv "$i" $(echo $i | tr " " _)



I tried this command and it gives me a > prompt and sits there. Am I
doing something wrong?

And thanks to all the replies.

--
-=/>Thom


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

  Powered by Linux