URL: <http://savannah.gnu.org/support/?105815>
Summary: --lastarg foo Project: findutils Submitted by: yost Submitted on: Wednesday 03/28/2007 at 16:42 Category: None Priority: 5 - Normal Severity: 1 - Wish Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: None _______________________________________________________ Details: If there is a way to use xargs with commands like cp, mv, ln, rsync, etc., I don't know what that it is. Problem is that these commands (and others, of course) don't fall into the class of programs xargs works well with, i.e. commands of the form cmd [ options ] arg ... They are of the form cmd [ options] arg ... destination Often I want to use xargs -0 with these commands to properly handle filenames with spaces in them. This feature request should be crystal clear from the following example: Z% echo 'a b c d' | xargs -n 2 --lastarg destinationDir mv mv a b destinationDir mv c d destinationDir Z% _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?105815> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-findutils mailing list Bug-findutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-findutils