Command line stuff
Sylviane et Perry White
spwhite at freesurf.ch
Thu Jan 24 18:06:07 UTC 2008
On Wednesday 23 January 2008 20:32, Brad De Vries wrote:
> You could use the format:
> $ mv `ls | grep ".png" | grep -v "blob"` /the/new/directory
>
> Note the use of the backward apostrophe a.k.a. tick mark, to
> accomplish the command-within-a-command.
Thanks a lot, that ` ` is a great thing.
I wonder if Donn read your reply, no sign of it in his mails from today, and
in his mail timed 07:18:17 he went into an elucubration about a "fui" script
with -select or -exclude options. Unless the script already exists he still
has to figure out how to implement it, so nothing is solved yet.
*In one line you provided what I belive is the best answer to his question.*
Of course he is the juge and I'm waiting for his verdict ;)
I 'CC' that mail to his private address, hoping it will get through.
(Of course he can answer on the list)
(Finding the -v option for grep took me a long time, I first searched in
regexp, then on the net, found nothing...and discovered it by chance)
Greetings Perry
--
BOFH excuse #100: IRQ dropout
More information about the kubuntu-users
mailing list