On Thu, Jul 17, 2008 at 7:16 PM, David Denney
<[EMAIL PROTECTED]> wrote:
> Hello all,
> When you tar a file (i.e. a backup) to a destination disk, does tar build
> the file on the destination disk, or does it create it in a tmp file,
> memory, etc then move it to the final destination? I have to t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/17/08 13:16, David Denney wrote:
> Hello all,
> When you tar a file (i.e. a backup) to a destination disk, does tar build
> the file on the destination disk, or does it create it in a tmp file,
> memory, etc then move it to the final destination?
Hello all,
When you tar a file (i.e. a backup) to a destination disk, does tar build
the file on the destination disk, or does it create it in a tmp file,
memory, etc then move it to the final destination? I have to think it
builds it in the destination location, but want to make sure.
Thanks
Da
On Tue, Dec 04, 2007 at 03:08:13AM -0800, Nevruz Mesut Sahin wrote:
> tear friends I want to get all my directories backup by tar
>
> my directories : /www/abc/domains/
>
> /www/abc/domains/there_so_many_files
>
> so I want to get all backup under /www then I tried
>
> tar cvf /www/
Nevruz Mesut Sahin:
>
> so I want to get all backup under /www then I tried
>
> tar cvf /www/ (but does not work gives error)
> tar: Cowardly refusing to create an empty archive
> Try `tar --help' or `tar --usage' for more information.
The 'f' option has to be followed directly by the na
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/04/07 05:08, Nevruz Mesut Sahin wrote:
> tear friends I want to get all my directories backup by tar
>
> my directories : /www/abc/domains/
>
> /www/abc/domains/there_so_many_files
>
> so I want to get all backup under /www then I tried
>
tear friends I want to get all my directories backup by tar
my directories : /www/abc/domains/
/www/abc/domains/there_so_many_files
so I want to get all backup under /www then I tried
tar cvf /www/ (but does not work gives error)
tar: Cowardly refusing to create an empty archive
Try
On Tue, Mar 20, 2007 at 12:45:51PM +, Tyler Smith wrote:
> On 2007-03-17, Tyler Smith <[EMAIL PROTECTED]> wrote:
> > On 2007-03-17, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
> >>
> >> Within that directory I issued:
> >>
> >>$ls -1 | xargs -L 1 tar -xf
> >>
> >> and ended up with a tes
On 2007-03-17, Tyler Smith <[EMAIL PROTECTED]> wrote:
> On 2007-03-17, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
>>
>> Within that directory I issued:
>>
>> $ls -1 | xargs -L 1 tar -xf
>>
>> and ended up with a test subdirectory containing all nine files.
>>
>
> The argument to ls,
On Mon, 2007-03-19 at 03:36 -0500, Adam Porter wrote:
> So it looks like the ultimate solution is Greg Folkert's suggestion to
> install the package "unp", which handles multiple archives and
> automatically chooses the right extractor. Cameron Hutchison's shell
> function is also handy, but unp
On 2007-03-17 18:49:59 +0100, Joe Hart wrote:
> unp, orange. Right. Never heard of either of them. I have now.
unp doesn't do proper character escaping, though. So, never do things
like "unp *.tar.bz2" on files that come from an external source, as
I fear that this may execute arbitrary code on
So it looks like the ultimate solution is Greg Folkert's suggestion to
install the package "unp", which handles multiple archives and
automatically chooses the right extractor. Cameron Hutchison's shell
function is also handy, but unp probably makes that unnecessary if you can
install packages on
ED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/A-silly-question-about-tar-tf3418581.html#a9537723
Sent from the Debian User mailing list archive at Nabble.com.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On 2007-03-17, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
>
> Within that directory I issued:
>
> $ls -1 | xargs -L 1 tar -xf
>
> and ended up with a test subdirectory containing all nine files.
>
Ok, I tried that out. The key seems to be the arguments to xarg,
either "-L 1" as you sugge
On Sat, Mar 17, 2007 at 01:23:02PM +, Tyler Smith wrote:
> On 2007-03-17, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
> >
> I have, and unfortunately it doesn't work. The result is the same as
> the original problem with the regular * expansion:
>
> tyler:tar-> find ./ -name '*.tar.gz' |
On 2007-03-17, Andrei Popescu <[EMAIL PROTECTED]> wrote:
> Tyler Smith <[EMAIL PROTECTED]> wrote:
>>
>> I have, and unfortunately it doesn't work. The result is the same as
>> the original problem with the regular * expansion:
>>
>> tyler:tar-> find ./ -name '*.tar.gz' | xargs echo
>> ../one.tar.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greg Folkert wrote:
> On Sat, 2007-03-17 at 14:34 +0100, Joe Hart wrote:
[snip] (script can be found in the previous message)
>> Another handy little script. I just love this list. It's a lot easier
>> to type x *.zip or x *.rar than it is to right
On Thu, Mar 15, 2007 at 02:59:01AM EST, Adam Porter wrote:
> I've read the man page, googled this list and the rest of the Net, but I
> still can't figure out why this doesn't work:
>
> $ tar xjf *.tar.bz2
> tar: beryl-core-0.2.0.tar.bz2: Not found in archive
> tar: beryl-manager-0.2.0.tar.bz2: No
On Sat, 2007-03-17 at 14:34 +0100, Joe Hart wrote:
> Cameron Hutchison wrote:
> [snip]
>
> >
> > I have the following shell function defined in my .bashrc which I use to
> > extract the various archives I come across. It handles multiple archives
> > on the command line. Usage is simple:
> >
> >
Tyler Smith <[EMAIL PROTECTED]> wrote:
> On 2007-03-17, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
> >
> > You use find to spit out a list of the files you want (you _may_ be
> > able to just use ls -1 .tar), pipe that through xargs. Something
> > like this:
> >
> > ls -1 .tar.gz | xargs
Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 17, 2007 at 02:35:01PM +0100, Thomas Jollans wrote:
> > On Saturday 17 March 2007 13:58, Douglas Allan Tutty wrote:
> > > On Sat, Mar 17, 2007 at 05:00:21AM -0500, Adam Porter wrote:
> >
> > > You use find to spit out a list of the file
On Saturday 17 March 2007 14:45, Douglas Allan Tutty wrote:
> On Sat, Mar 17, 2007 at 02:35:01PM +0100, Thomas Jollans wrote:
> > On Saturday 17 March 2007 13:58, Douglas Allan Tutty wrote:
> > > On Sat, Mar 17, 2007 at 05:00:21AM -0500, Adam Porter wrote:
> > >
> > > You use find to spit out a lis
On 2007-03-17, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:
>
> You use find to spit out a list of the files you want (you _may_ be able
> to just use ls -1 .tar), pipe that through xargs. Something like this:
>
> ls -1 .tar.gz | xargs tar [tar options -f ]
>
> for each line of input it re
On Sat, Mar 17, 2007 at 02:35:01PM +0100, Thomas Jollans wrote:
> On Saturday 17 March 2007 13:58, Douglas Allan Tutty wrote:
> > On Sat, Mar 17, 2007 at 05:00:21AM -0500, Adam Porter wrote:
>
> > You use find to spit out a list of the files you want (you _may_ be able
> > to just use ls -1 .tar),
On Saturday 17 March 2007 13:58, Douglas Allan Tutty wrote:
> On Sat, Mar 17, 2007 at 05:00:21AM -0500, Adam Porter wrote:
> > Thanks for your replies, everyone. It seems to me that there might be a
> > market for a simple script frontend to tar that would handle
> > shell-expanded wildcards; perh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Cameron Hutchison wrote:
[snip]
>
> I have the following shell function defined in my .bashrc which I use to
> extract the various archives I come across. It handles multiple archives
> on the command line. Usage is simple:
>
> $ x *.tar.gz
>
> x (
On Sat, Mar 17, 2007 at 05:00:21AM -0500, Adam Porter wrote:
> Thanks for your replies, everyone. It seems to me that there might be a
> market for a simple script frontend to tar that would handle shell-expanded
> wildcards; perhaps it could be included in Debian's package of tar. Would
> that b
Adam Porter wrote:
>Thanks for your replies, everyone. It seems to me that there might be a
>market for a simple script frontend to tar that would handle shell-expanded
>wildcards; perhaps it could be included in Debian's package of tar. Would
>that be a good idea? Does anything like that alrea
Thanks for your replies, everyone. It seems to me that there might be a
market for a simple script frontend to tar that would handle shell-expanded
wildcards; perhaps it could be included in Debian's package of tar. Would
that be a good idea? Does anything like that already exist?
--
To UNSUB
I've read the man page, googled this list and the rest of the Net, but I
still can't figure out why this doesn't work:
$ tar xjf *.tar.bz2
tar: beryl-core-0.2.0.tar.bz2: Not found in archive
tar: beryl-manager-0.2.0.tar.bz2: Not found in archive
tar: beryl-plugins-0.2.0.tar.bz2: Not found in archi
On Thu, 15 Mar 2007 09:24:17 +0100
Florian Kulzer <[EMAIL PROTECTED]> wrote:
[snip]
> The wildcard (glob pattern) will be expanded to all the *.tar.bz2
> filenames in one line, separated by spaces. This is fed as the argument
> to tar. It looks like the "extract" action interprets the first filen
On Thu, Mar 15, 2007 at 02:59:01 -0500, Adam Porter wrote:
> I've read the man page, googled this list and the rest of the Net, but I
> still can't figure out why this doesn't work:
>
> $ tar xjf *.tar.bz2
> tar: beryl-core-0.2.0.tar.bz2: Not found in archive
> tar: beryl-manager-0.2.0.tar.bz2: No
On Thu, Mar 15, 2007 at 02:59:01AM -0500, Adam Porter wrote:
> I've read the man page, googled this list and the rest of the Net, but I
> still can't figure out why this doesn't work:
>
> $ tar xjf *.tar.bz2
> tar: beryl-core-0.2.0.tar.bz2: Not found in archive
> tar: beryl-manager-0.2.0.tar.bz2:
I've read the man page, googled this list and the rest of the Net, but I
still can't figure out why this doesn't work:
$ tar xjf *.tar.bz2
tar: beryl-core-0.2.0.tar.bz2: Not found in archive
tar: beryl-manager-0.2.0.tar.bz2: Not found in archive
tar: beryl-plugins-0.2.0.tar.bz2: Not found in archi
On Mon, 13 Feb 2006 12:46:36 -0600
David Berg <[EMAIL PROTECTED]> wrote:
> This might not be related to your problem but I don't see any mention
> of using -v twice in the man page.
look in the examples section right at the top :) it increases verbosity.
[EMAIL PROTECTED]:/tmp$ tar cvvf archiv
On 2/13/06, Nevruz Mesut Sahin <[EMAIL PROTECTED]> wrote:
> I wrote comand below to terminal
>
> tar -cvvf /disk1/data/xyz.tar /disk1/data/folders
>
> it works but created file (xyz.tar) is hidden. when I
This might not be related to your problem but I don't see any mention
of using -v twice in t
Nevruz Mesut Sahin wrote:
I wrote comand below
tar -cvvf /disk1/data/xyz.tar /disk1/data/folders
Interesting. I wonder whether it tried to tar that
file inside itself. Might lead to weirdness, like
a completely full disc.
What does
$ df
show?
it works but created file (xyz.tar) is hidd
On Mon, Feb 13, 2006 at 07:31:47AM -0800, Nevruz Mesut Sahin wrote:
> it works but created file (xyz.tar) is hidden. when I
> use find /disk1/data -name xyz.tar system finds it. if
> I write ls /disk1/data/xyz.tar system writes
> /disk1/data/xyz.tar
> it written is red
What does
$ file /disk1/d
I wrote comand below to terminal
tar -cvvf /disk1/data/xyz.tar /disk1/data/folders
it works but created file (xyz.tar) is hidden. when I
use find /disk1/data -name xyz.tar system finds it. if
I write ls /disk1/data/xyz.tar system writes
/disk1/data/xyz.tar
it written is red also and if I conne
I wrote comand below
tar -cvvf /disk1/data/xyz.tar /disk1/data/folders
it works but created file (xyz.tar) is hidden. when I
use find /disk1/data -name xyz.tar system finds it but
the written is red also I can!t copy it to another
place. thanks
__
Þann 2006-02-13, 05:41:18 (-0800) skrifaði Nevruz Mesut Sahin:
>
>
> Dear Friends I wrote tar -czvf
> /disk1/data/folders/disk1/data/xyz but gives error
> below:
The destination for the archive should be the first argument to tar
from the man page:
tar -cvvf foo.tar foo/
Dear Friends I wrote tar -czvf
/disk1/data/folders/disk1/data/xyz but gives error
below:
tar (child): /disk1/data/folders : cannot open :is a
directory
tar (child): Error is not recoverable: exiting now
tar : Child status return 2
tar : Error exit delayed from previous errors
42 matches
Mail list logo