Re: tar question...

2003-12-31 Thread Peter Risdon
Kevin D. Kinsey, DaleCo, S.P. wrote: Sounds find, but wouldn't $tar /home/foo/* get this job done without including subdirs, since there's no -R involved? -R means show record number. Recursive is the default, -n is no recursive. PWR ___ [EMAIL PROTE

Re: tar question...

2003-12-31 Thread Kevin D. Kinsey, DaleCo, S.P.
Chris wrote: On Wednesday 31 December 2003 1:21 pm, Xpression wrote: Hi list, I've googled to search an aswer but no one match mine. I want to tar all files on a directory without include any other directory, I've tried with --exclude but no hope, any suggestion ??? Thanks... I dom somethi

Re: tar question...

2003-12-31 Thread Dave Cantrell
On Wednesday 31 December 2003 13:21, Xpression wrote: > Hi list, I've googled to search an aswer but no one match > mine. I want to tar all files on a directory without include > any other directory, I've tried with --exclude but no hope, > any suggestion ??? Thanks... > man tar works for me: -n

Re: tar question...

2003-12-31 Thread Chris
On Wednesday 31 December 2003 1:21 pm, Xpression wrote: > Hi list, I've googled to search an aswer but no one match > mine. I want to tar all files on a directory without include > any other directory, I've tried with --exclude but no hope, > any suggestion ??? Thanks... > I dom something similar

Re: tar question...

2003-10-30 Thread Ruben de Groot
On Thu, Oct 30, 2003 at 06:57:35AM -0500, Matthew Emmerton typed: > > Hi list, the question is: can I tar a hole directory without include the > > tree ??? I mean when I tar all files in a /dir1/dir2/dir3 path, the tar > file > > includes me the path too and I want to tar only the filenames in dir3

Re: tar question...

2003-10-30 Thread Matthew Emmerton
> Hi list, the question is: can I tar a hole directory without include the > tree ??? I mean when I tar all files in a /dir1/dir2/dir3 path, the tar file > includes me the path too and I want to tar only the filenames in dir3: I'm > using the syntax tar -czf /path/to/store/myfile.tgz > /the/path/wh

Re: tar question...

2003-10-29 Thread andi payn
On Wed, 2003-10-29 at 19:56, Xpression wrote: > Hi list, the question is: can I tar a hole directory without include the > tree ??? I mean when I tar all files in a /dir1/dir2/dir3 path, the tar file > includes me the path too and I want to tar only the filenames in dir3: I'm > using the syntax tar

Re: Tar question

2003-09-03 Thread Jerry McAllister
> > I'm a little confused about the arguments for tar. > I want to tar the contents of a directory and save that .tgz file for > backup purposes. > > Problem is, when I copy larry.tgz to /disk2 and: > Tar xvfz larry.tgz > It creates the /disk2 file structure within /disk2. > > # cd > # ls /disk2

RE: Tar question

2003-09-03 Thread Charles Howse
> My suggestion is: > > tar cvCfz /disk2 larry.tgz . > > tar will cd to /disk2 before interpreting the dot - thus the > content of > /disk2 will be archived, but without a leading "disk2" in the table of > contents. Perfect! I saw the C argument in man tar, but didn't make the connection. Than

Re: Tar question

2003-09-03 Thread Daan Vreeken [PA4DAN]
On Wednesday 03 September 2003 13:22, Charles Howse wrote: > I'm a little confused about the arguments for tar. > I want to tar the contents of a directory and save that .tgz file for > backup purposes. > > Problem is, when I copy larry.tgz to /disk2 and: > Tar xvfz larry.tgz > It creates the /disk

Re: Tar question

2003-09-03 Thread Konrad Heuer
On Wed, 3 Sep 2003, Charles Howse wrote: > I'm a little confused about the arguments for tar. > I want to tar the contents of a directory and save that .tgz file for > backup purposes. > > Problem is, when I copy larry.tgz to /disk2 and: > Tar xvfz larry.tgz > It creates the /disk2 file structure