Prev: Symbol for "not" within []
Next: Evaluating variable
From: Tuxedo on 9 Aug 2010 02:57 Chris F.A. Johnson wrote: > On 2010-08-09, Tuxedo wrote: [...] > > for file in *__*.jpg > do > mv "$file" "${file#*__}" > done Thanks for this including your advise why best avoid the use of 'ls' and sed for this particular task. Your command works fine of course. Tuxedo [...]
|
Pages: 1 Prev: Symbol for "not" within [] Next: Evaluating variable |