On Sun, 29 Sep 2002, will trillich wrote:
> On Sun, Sep 29, 2002 at 06:02:53PM -0500, Michael Heironimus wrote:
> > On Sun, Sep 29, 2002 at 10:19:03AM -0500, will trillich wrote:
> > > xargs -i# command # suffix
> >
> > Since # is almost always a shell metacharacter, it's not surprising that
> > this doesn't work. Try using an alpha sequence, what I usually use is
> > "xargs -iXXX foo XXX bar".
> >
> > By the way, if you're absolutely certain that there are no "special"
> > characters or spaces in any of the filenames, you can also use
> > scp -options `find . -options` user@host:dir
>
> i hadn't thought of that. very sneaky.
>
> sadly, there are spaces and apostrophe's (windo~1 files, of
> course) -- and there's a possibility that the resulting list
> from the `find` command might overflow the command buffer as
> well, so the first suggestion is the winner, assuming i can get
find -type f -mtime -1 | tar cvf /tmp/x.tgz -T -
scp /tmp/x.tgz user@host:dir && "untar it locally and automatically"
that shouldnt have any problems w/ "windoze's stYLE file names"
and you have a copy of what was xfered on which day etc..etc..
( and a built in backup ... where x.tgz can be safed off )
gazillion ways to skin this cat... w/ gazillion various commands...
c ya
alvin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]