Which Directory Service do you use for your network?
None NIS LDAP LDAP + Kerberos Samba Active Directory eDirectory other ( 740 votes ~ 14 comments )
You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.
To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.
This is the comment you were replying to, attached to the article Easily renaming multiple files.:
#3 Re: Easily renaming multiple files. Posted by jaddle (66.11.xx.xx) on Wed 1 Jun 2005 at 13:28 Actually, I find that using "for i in *.jpg" works fine in this situation. The problem arises when you try to use the output of another command in the for. i.e.: for i in `ls *.jpg` will have the problem you describe, as will for i in `find -name *.jpg` When I ran into that problem, I ended up just using 'for i in *.jpg' without using a backticked command to work around it.
Posting Format:
Inappropriate comments will be removed.
Some help on entry formatting is available
Username:
Password:
[ Advanced Login ]
Register Account