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: phil4u2 on Mar 14, '05 01:55:40PM
sorry, but although this is the "easiest understood" command line for a beginner like me, it doesn't work! all I get is
for bquote>
what do I do after that? I had to abort (Command - . )

[ Reply to This | # ]
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 | # ]