Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Alternatively...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Alternatively...
Authored by: jwrfoo on Mar 15, '05 04:13:53AM

Ahh... the joys of typing too fast :D

The quotes need to be back quotes i.e. `, so the correct command is:

for i (*.txt) mv $i `basename $i .txt`.xyz

(zsh only, bash is slightly different).

---
-j



[ Reply to This | # ]