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 to
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
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
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
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: I'm
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
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 within
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 /disk2 file
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.
Thanks very
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
#
10 matches
Mail list logo