[Centos] help with xargs and mv
James B. Byrne
ByrneJB at Harte-Lyne.ca
Wed Feb 9 18:44:48 UTC 2005
Thank you for that clarification.
Now what happens is this:
#cat workmv | xargs -i mv ./mqueue/'{}' ./mqueue/offline
mv: cannot stat `./mqueue/*j17KeeL7025621': No such file or
directory
mv: cannot stat ... one for each entry in workmv
#
# ll ./mqueue/*j17KeeL7025621
-rw------- 1 root root 19397 Feb 7 15:41
./mqueue/dfj17KeeL7025621
-rw------- 1 root smmsp 1812 Feb 8 13:41
./mqueue/qfj17KeeL7025621
Do I need to escape the leading * in the workfile?
Regards,
Jim
--
*** e-mail is not a secure channel ***
mailto:byrnejb.<token>@harte-lyne.ca
James B. Byrne Harte & Lyne Limited
vox: +1 905 561 1241 9 Brockley Drive
fax: +1 905 561 0757 Hamilton, Ontario
<token> = hal Canada L8E 3C3
More information about the CentOS
mailing list