>> On Fri, 12 Feb 2010 21:08:43 -0800,
>> Doug Sampson said:
D> This is what led me to the workaround of:
D> $ getfacl /aclTest/ | setfacl -d -b -n -M - /aclTest/
D> which actually works for me. I do dread the idea of having to manually
D> apply this to all existing directories in the /dat
bove command
> modified to work with xargs, I end up with an error message ...
Two possibilities come to mind:
* Try using the "-L 1" switch to cause xargs to run a separate
command instance for each input value.
* You may have run into one of the rare situations where
"find ... | x
with
xargs, I end up with an error message:
r...@aries:/data/Products/RSVP# find . -type d -print0 | xargs -0 getfacl |
setfacl -d -b -n -M -
setfacl: line too long in -
r...@aries:/data/Products/RSVP#
Okay, that doesn't work. What is the output of...
r...@aries:/data/Products/RSVP# find .
Thank you all! And im on my way thanks to greate response!
-Original Message-
From: Oliver Fromme [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2008 2:42 PM
To: freebsd-questions@FreeBSD.ORG; [EMAIL PROTECTED]
Subject: Copying a directory tree (was: xargs)
Marcel Grandemange
Marcel Grandemange <[EMAIL PROTECTED]> wrote:
> I need to copy an entire BSD installation except
> the /mnt directory to /mnt/pc
You don't need xargs for this.
# cd /
# find -Ed . -regex '\./(mnt|dev)' -prune -or -print0 | cpio -dump0 /mnt/pc
If you have procfs
Marcel Grandemange wrote:
I need to copy an entire BSD installation except the /mnt directory to
/mnt/pc
# rsync -arcvv --exclude=/mnt / /mnt/pc
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-q
Thank You For Help In The Past but give run into a new issue.
I need to copy an entire BSD installation except the /mnt directory to
/mnt/pc
Now ive looked everywhere on net for examples, yet all don't work.
What I did try do was following..
Cd /
Ls | grep -v proc | xar
> when I use the usual:
>
> find . -type f -print | xargs grep -sl foobar
Have you tried:
find . -type f -print0 | xargs -0 grep -sl foobar
>
> i get;
>
> xargs unterminated quote error and have to use:
>
> find . -type f -print | sed 's/^\(.*\)$//'\1'/
when I use the usual:
find . -type f -print | xargs grep -sl foobar
i get;
xargs unterminated quote error and have to use:
find . -type f -print | sed 's/^\(.*\)$//'\1'/' | xargs grep -sl foobar
to quote the output from find. anyone know a more elegant sol
[Format recovered--see http://www.lemis.com/email/email-format.html]
Single line paragraphs.
On Thursday, 15 July 2004 at 13:56:32 +1000, Scott Moss wrote:
> Hi,
>
> Just wondering what the easiest way to upgrade "xargs" would be. I'm
> running 4.5-RELEASE (yes I kn
Hi,
Just wondering what the easiest way to upgrade "xargs" would be. I'm running
4.5-RELEASE (yes I know -_-, new build is coming with the new machine). Anyhow I've
been constantly getting errors when ever I try to make anything from ports and it
seems to be xargs being
On Fri, Jan 03, 2003 at 10:55:09AM -0500 Danny <[EMAIL PROTECTED]> wrote:
> Could you please give another realworld example of using xargs and
> your definition of it. I had a glance through man xargs, but I enjoy input
> from humans that use it as well. :)
Xargs is pretty nea
Could you please give another realworld example of using xargs and
your definition of it. I had a glance through man xargs, but I enjoy input
from humans that use it as well. :)
Thanks.
- Original Message -
From: "David S. Jackson" <[EMAIL PROTECTED]>
To: "mike&qu
> At 10:10 PM -0500 11/25/02, David S. Jackson wrote:
> >Hi,
> >
> >I've been trying to use |xargs -J [] mv [] [].suffix
> >but to no avail.
Not to convince you to not use xargs, but you might look at the mmv
port...
mmv '*' '=1.suffix'
-ph
At 10:10 PM -0500 11/25/02, David S. Jackson wrote:
Hi,
I've been trying to use |xargs -J [] mv [] [].suffix
but to no avail.
I've tried |xargs -J mv \[\] \[\].suffix and variations but that
doesn't seem to work either. It seems to work fine with the -i
command under GNU xargs
On 26-Nov-2002 David S. Jackson wrote:
> Hi,
>
> I've been trying to use |xargs -J [] mv [] [].suffix
>
> but to no avail.
>
> I've tried |xargs -J mv \[\] \[\].suffix and variations but that
> doesn't seem to work either. It seems to work fine with th
On Mon, Nov 25, 2002 at 10:10:03PM -0500, David S. Jackson wrote:
> Hi,
>
> I've been trying to use |xargs -J [] mv [] [].suffix
>
> but to no avail.
>
> I've tried |xargs -J mv \[\] \[\].suffix and variations but that
> doesn't seem to work either. It s
On Tue, 2002-11-26 at 13:10, David S. Jackson wrote:
> Hi,
>
> I've been trying to use |xargs -J [] mv [] [].suffix
>
> but to no avail.
>
> I've tried |xargs -J mv \[\] \[\].suffix and variations but that
> doesn't seem to work either. It seems to wo
Hi,
I've been trying to use |xargs -J [] mv [] [].suffix
but to no avail.
I've tried |xargs -J mv \[\] \[\].suffix and variations but that
doesn't seem to work either. It seems to work fine with the -i
command under GNU xargs, but not under Freebsd.
An example would be
$
# [EMAIL PROTECTED] / 2002-10-23 17:05:48 -0400:
> On 22 Oct 2002, Gary W. Swearingen wrote:
> > Peter Leftwich <[EMAIL PROTECTED]> writes:
> > > Then I thought I'd get crafty and
> > > `tar tvf MP3.DONE0415021909MPT.tar > the-tarfile.out` thinking I
> > > could later run things through `sort` but
On 22 Oct 2002, Gary W. Swearingen wrote:
> Peter Leftwich <[EMAIL PROTECTED]> writes:
> > Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar >
> > the-tarfile.out` thinking I could later run things through `sort` but I am
> > hung up on how to get similar output that shows the co
Peter Leftwich <[EMAIL PROTECTED]> writes:
> Then I thought I'd get crafty and `tar tvf MP3.DONE0415021909MPT.tar >
> the-tarfile.out` thinking I could later run things through `sort` but I am
> hung up on how to get similar output that shows the contents of MP3/.
tar cf - MP3/ | tar tvf - >the-m
>
the-tarfile.out` thinking I could later run things through `sort` but I am
hung up on how to get similar output that shows the contents of MP3/.
# find MP3/ -type f | wc -l
OR?
# find MP3/ -type f -exec ls -al {}\; | more
OR?
# find MP3/ -type f -print | xargs or something like
Peter Leftwich <[EMAIL PROTECTED]> wrote:
> I'm surprised that xargs has no flag for interactive mode (-i) so that the
> command line will be echoed to the terminal asking [y/n/!] where y means yes
> proceed and n means no stop now and ! would mean answer y to all rem
tju.org/weblog/weblog.php
> bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/
*DUrr...* It is [whispered innocuously] in the xargs manpage!
-t Echo the command to be executed to standard error immediately before it is
executed.
Ok now, everyone write &qu
On Wed, 25 Sep 2002, Giorgos Keramidas wrote:
> On 2002-09-24 18:48, Peter Leftwich <[EMAIL PROTECTED]> wrote:
> > I'm surprised that xargs has no flag for interactive mode (-i) so that the
> > command line will be echoed to the terminal asking [y/n/!] where y means yes
On Tue, Sep 24, 2002 at 06:48:15PM -0400, Peter Leftwich wrote:
> I'm surprised that xargs has no flag for interactive mode (-i) so that the
> command line will be echoed to the terminal asking [y/n/!] where y means yes
> proceed and n means no stop now and ! would mean answer y to
On 2002-09-24 18:48, Peter Leftwich <[EMAIL PROTECTED]> wrote:
> I'm surprised that xargs has no flag for interactive mode (-i) so that the
> command line will be echoed to the terminal asking [y/n/!] where y means yes
> proceed and n means no stop now and ! would mean answe
I'm surprised that xargs has no flag for interactive mode (-i) so that the
command line will be echoed to the terminal asking [y/n/!] where y means yes
proceed and n means no stop now and ! would mean answer y to all remaining
promptings.
If the command passed to xargs *includes* something
>
> # find . -type f
> ./z_flash-0.4.10.tgz
> ./z_yelp-1.0.6.tgz
> ./z_plugger-4.0.tgz
>
> # find . -type f | xargs -J G tar zxf G
> tar: ./z_yelp-1.0.6.tgz not found in archive
> tar: ./z_plugger-4.0.tgz not found in archive
>
> What I am trying to do is the equiv
; # find . -type f
> ./z_flash-0.4.10.tgz
> ./z_yelp-1.0.6.tgz
> ./z_plugger-4.0.tgz
>
> # find . -type f | xargs -J G tar zxf G
> tar: ./z_yelp-1.0.6.tgz not found in archive
> tar: ./z_plugger-4.0.tgz not found in archive
try
find . -type f | xargs -n 1 tar
. -type f | xargs -J G tar zxf G
tar: ./z_yelp-1.0.6.tgz not found in archive
tar: ./z_plugger-4.0.tgz not found in archive
What I am trying to do is the equivalent of the following:
# tar zxf file1.tgz ; tar zxf file2.tgz ; tar zxf file3.tgz
Is this possible with xargs? I was using "G"
32 matches
Mail list logo