Re: interface for tar

2008-08-20 Thread Shachar Or
create many small files (30,000) per hour. Their size is very small (20k to 200k). Instead of having this on the filesystem since it take up inode space, I would like to tar them per day into one tar file. I would then like an interface similar to zsh/ksh to cd tar.file and use

Re: interface for tar

2008-08-20 Thread Tzafrir Cohen
On Wed, Aug 20, 2008 at 02:34:59PM +0300, Shachar Or wrote: After solving the problem in the immediate consider telling the developer of that simulation software to use a database! Err... I guess you meant: tell the developer of the application to use a zip archive, as it allows random access

Re: interface for tar

2008-08-20 Thread Ron Johnson
this on the filesystem since it take up inode space, I would like to tar them per day into one tar file. I would then like an interface similar to zsh/ksh to cd tar.file and use it as a typeical shell. Do tools like that exist? That would be very benefical for us and our system admin does not have to yell at us

Re: interface for tar

2008-08-20 Thread Glennie Vignarajah
Le Wednesday 20 August 2008 vers 02:40, Mag Gam(Mag Gam [EMAIL PROTECTED]) a écrit: Hello, I would like to tar them per day into one tar file. I would then like an interface similar to zsh/ksh to cd tar.file and use it as a typeical shell. Try fuse[1]. It has a driver for tar

Re: interface for tar

2008-08-20 Thread Mag Gam
, 2008 at 11:06 AM, Glennie Vignarajah [EMAIL PROTECTED] wrote: Le Wednesday 20 August 2008 vers 02:40, Mag Gam(Mag Gam [EMAIL PROTECTED]) a écrit: Hello, I would like to tar them per day into one tar file. I would then like an interface similar to zsh/ksh to cd tar.file and use

Re: interface for tar

2008-08-20 Thread Shachar Or
On Wednesday 20 August 2008 13:50, Mag Gam wrote: David: Do you have some sort of script to manage this? I am a little hesitate to give professors mkfs and mount sudo access. Is there a way around this? You can specify the 'user' option in fstab so that usres can mount the relevant

interface for tar

2008-08-19 Thread Mag Gam
At my university we run fluid dynamic simulations. These simulations create many small files (30,000) per hour. Their size is very small (20k to 200k). Instead of having this on the filesystem since it take up inode space, I would like to tar them per day into one tar file. I would then like

Re: interface for tar

2008-08-19 Thread Owen Townend
2008/8/20 Mag Gam [EMAIL PROTECTED]: At my university we run fluid dynamic simulations. These simulations create many small files (30,000) per hour. Their size is very small (20k to 200k). Instead of having this on the filesystem since it take up inode space, I would like to tar them per day

Re: interface for tar

2008-08-19 Thread John Hasler
You can browse tar archives with Midnight Commander (mc). -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: interface for tar

2008-08-19 Thread David Fox
On Tue, Aug 19, 2008 at 5:40 PM, Mag Gam [EMAIL PROTECTED] wrote: At my university we run fluid dynamic simulations. These simulations create many small files (30,000) per hour. Their size is very small (20k to 200k). Instead of having this on the filesystem since it take My approach: make a

Re: interface for tar

2008-08-19 Thread Mag Gam
WOW! Very nice ideas. I like the dd idea. What command would I use for that? Also, the files are coming from NFS; how can I help this? Any ideas for this? On Tue, Aug 19, 2008 at 10:24 PM, David Fox [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 5:40 PM, Mag Gam [EMAIL PROTECTED] wrote:

Re: dumb question about tar

2008-07-19 Thread James Youngman
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 think

dumb question about tar

2008-07-17 Thread David Denney
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

Re: dumb question about tar

2008-07-17 Thread Ron Johnson
-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? I

Re: Scripting Question - tar

2008-07-11 Thread T o n g
On Thu, 10 Jul 2008 17:04:38 -0500, Kent West wrote: tar -cvzf - --one-file-system /home | split -b 2000m - Side note since the problem has been solved. You might want to look into dar, which will do splitting for you automatically, as well as many other desired features for backup

Scripting Question - tar

2008-07-10 Thread Kent West
filename targetFile=$targetDir/`date +%Y-%b-%e`.tgz echo Tarring up source into target echo $targetFile tar -czvf - --one-file-system $sourceDir | split -b 2000m $targetFile The script fails with this output: Tarring up source into target /TERASTATIONBACKUP/GOSHEN/2008/2008-Jul-10

Re: Scripting Question - tar

2008-07-10 Thread Owen Townend
tar -cvzf - --one-file-system /home | split -b 2000m - /TERASTATIONBACKUP/GOSHEN/2008/2008-Jul-10.tgz vs tar -czvf - --one-file-system $sourceDir | split -b 2000m $targetFile Am I just not seeing a typo somewhere? Why is my script failing? Thanks! Hey, You're missing the '-' for stdin

Re: Scripting Question - tar

2008-07-10 Thread Kent West
Owen Townend wrote: Kent West wrote: Am I just not seeing a typo somewhere? Why is my script failing? Hey, You're missing the '-' for stdin tar -czvf - --one-file-system $sourceDir | split -b 2000m - $targetFile Ah, thank you! -- Kent West ))) Westing

Re: compilar .tar

2008-06-24 Thread Abraham Pérez
2008/6/24 Maximiliano Marin Bustos [EMAIL PROTECTED]: 2008/6/23 Moises Brenes [EMAIL PROTECTED]: 2008/6/23 Moises Brenes [EMAIL PROTECTED]: O tambien pueden bajar el paquete para Debian: http://log.damog.net/2008/06/firefox-3-for-debian-lenny.html Pasos: (como root) echo deb

Re: compilar .tar

2008-06-24 Thread Victor H De la Luz
2008/6/24 Abraham Pérez [EMAIL PROTECTED]: 2008/6/24 Maximiliano Marin Bustos [EMAIL PROTECTED]: 2008/6/23 Moises Brenes [EMAIL PROTECTED]: 2008/6/23 Moises Brenes [EMAIL PROTECTED]: O tambien pueden bajar el paquete para Debian:

Re: compilar .tar

2008-06-24 Thread Marcos Delgado
2008/6/24 Abraham Pérez [EMAIL PROTECTED]: 2008/6/24 Maximiliano Marin Bustos [EMAIL PROTECTED]: 2008/6/23 Moises Brenes [EMAIL PROTECTED]: 2008/6/23 Moises Brenes [EMAIL PROTECTED]: O tambien pueden bajar el paquete para Debian:

compilar .tar

2008-06-23 Thread Reiniel Gonzalez Martinez
He leido que para compilar un paquete tengo que hacer esto, cd /home/paquete.tar.bz2 ./configure make make install Pero eso no me funciona(dentro de mis cosas hay un .tar.bz2 y no puedo compilarlo) que me estara faltando Reiniel:/home/reiniel# cd /home/reiniel/Desktop/Mis_Cosas/

Re: compilar .tar

2008-06-23 Thread Moises Brenes
2008/6/23 Reiniel Gonzalez Martinez [EMAIL PROTECTED]: He leido que para compilar un paquete tengo que hacer esto, cd /home/paquete.tar.bz2 ./configure make make install Pero eso no me funciona(dentro de mis cosas hay un .tar.bz2 y no puedo compilarlo) que me estara faltando

Re: compilar .tar

2008-06-23 Thread Victor H De la Luz
] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Primero necesitas descomprimirlo luego destararearlo y finalmente compilarlo, te hace falta: cd /home/ bunzip2 paquete.tar.bz2 tar xvf paquete.tar ./configure make make install si cuando le hagas bunzip2 te sale un error es

Re: compilar .tar

2008-06-23 Thread Victor H De la Luz
# -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Primero necesitas descomprimirlo luego destararearlo y finalmente compilarlo, te hace falta: cd /home/ bunzip2 paquete.tar.bz2 tar xvf paquete.tar ./configure make make

Re: compilar .tar

2008-06-23 Thread Ricardo Eureka!
) que me estara faltando Descomprimirlo y desempaquetarlo: cuando un archivo tiene la extension bz2 significa que fue comprimido con bzip2, para descomprimirlo, puedes usar el comando bunzip2.Si, ademas, tiene la extension tar, significa que esta empaquetado. Lo que debes hacer es: tar xvjf

Re: compilar .tar

2008-06-23 Thread Victor H De la Luz
Luz [mailto:[EMAIL PROTECTED] Sent: Tue 24/06/2008 4:02 To: Reiniel Gonzalez Martinez Cc: Lista. Debian Subject: Re: compilar .tar 2008/6/23 Reiniel Gonzalez Martinez [EMAIL PROTECTED]: He leido que para compilar un paquete tengo que hacer esto, cd /home/paquete.tar.bz2 ./configure make

Re: compilar .tar

2008-06-23 Thread Moises Brenes
2008/6/23 Reiniel Gonzalez Martinez [EMAIL PROTECTED]: firefox 3.0 qeu me baje de internet Entonces no tienes porque compilarlo, porque lo que viene alli es el binario. Solo descomprimelo como te dijeron, accedes al directorio creado y lo corres: $ cd firefox $ ./firefox O tambien pueden

Re: compilar .tar

2008-06-23 Thread Moises Brenes
2008/6/23 Moises Brenes [EMAIL PROTECTED]: O tambien pueden bajar el paquete para Debian: http://log.damog.net/2008/06/firefox-3-for-debian-lenny.html Pasos: (como root) echo deb http://debian.axiombox.com/ testing main /etc/apt/sources.list; apt-get update; apt-get install iceweasel --

Re: compilar .tar

2008-06-23 Thread Maximiliano Marin Bustos
2008/6/23 Moises Brenes [EMAIL PROTECTED]: 2008/6/23 Moises Brenes [EMAIL PROTECTED]: O tambien pueden bajar el paquete para Debian: http://log.damog.net/2008/06/firefox-3-for-debian-lenny.html Pasos: (como root) echo deb http://debian.axiombox.com/ testing main /etc/apt/sources.list;

Re: problems with tar for backup (maximum tar file size?)

2008-05-30 Thread Wackojacko
Jimmy Wu wrote: I haven't been backing up any of my stuff, and yesterday I decided to start doing that I want to use tar with bz2, and I wrote this little script to hopefully automate this process (attached) The script works, but tar doesn't. The logs show no errors until somewhere near the end

Re: problems with tar for backup (maximum tar file size?)

2008-05-30 Thread Douglas A. Tutty
On Thu, May 29, 2008 at 10:46:10PM -0400, Jimmy Wu wrote: I haven't been backing up any of my stuff, and yesterday I decided to start doing that I want to use tar with bz2, and I wrote this little script to hopefully automate this process (attached) The script works, but tar doesn't

problems with tar for backup (maximum tar file size?)

2008-05-29 Thread Jimmy Wu
I haven't been backing up any of my stuff, and yesterday I decided to start doing that I want to use tar with bz2, and I wrote this little script to hopefully automate this process (attached) The script works, but tar doesn't. The logs show no errors until somewhere near the end, when it says tar

Re: nautilus problème archive tar

2007-12-23 Thread nono
Le dimanche 23 décembre 2007 à 02:17 +0900, Charles Plessy a écrit : Le Fri, Dec 21, 2007 at 05:32:33PM +0100, nono a écrit : Je crée l'archive en faisant: clic-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un

Re: nautilus problèm e archive tar

2007-12-22 Thread Charles Plessy
Le Fri, Dec 21, 2007 at 05:32:33PM +0100, nono a écrit : Je crée l'archive en faisant: clic-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un message d'erreur lorsque je crée un archive tar, tar.gz ou tar.bz2 (pas

nautilus problème archive tar

2007-12-21 Thread nono
Salut Sous Nautilus 2.18.3 en Debian/Lenny. Je crée l'archive en faisant: clic-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un message d'erreur lorsque je crée un archive tar, tar.gz ou tar.bz2 (pas d'erreur avec zip) Le

Re: nautilus problèm e archive tar

2007-12-21 Thread Jean-Michel OLTRA
Bonjour, Le vendredi 21 décembre 2007, nono a écrit... Avec Nautilus j'ai un message d'erreur lorsque je crée un archive tar, tar.gz ou tar.bz2 (pas d'erreur avec zip) Le message d'erreur : tar: Ceci ne ressemble pas à une archive de type « tar » tar: Statut d'erreur reporté

Re: nautilus problème archive tar

2007-12-21 Thread Gaëtan PERRIER
Le Fri, 21 Dec 2007 17:32:33 +0100 nono [EMAIL PROTECTED] a écrit: Salut Sous Nautilus 2.18.3 en Debian/Lenny. Je crée l'archive en faisant: clic-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un message d'erreur

Re: nautilus problème archive tar

2007-12-21 Thread Marc JEAN
C'est pas comme dans le fil Nautilus problème tar de nono (19/12/07) ? Moins seul ? Bon week-end ! Jean-Michel OLTRA a écrit : Bonjour, Le vendredi 21 décembre 2007, nono a écrit... Avec Nautilus j'ai un message d'erreur lorsque je crée un archive tar, tar.gz ou tar.bz2 (pas

Re: nautilus problèm e archive tar

2007-12-21 Thread Jean-Michel OLTRA
Bonjour, Le vendredi 21 décembre 2007, Marc JEAN a écrit... C'est pas comme dans le fil Nautilus problème tar de nono (19/12/07) ? Moins seul ? Ben non, car, en fait, je lui répondais. J'utilise WindowMaker depuis toujours…Et je fais mes archives à la main, comme un dino. -- jm

Re: Nautilus problème tar

2007-12-20 Thread Bernard Isambert
décembre 2007 à 10:02 +0100, nono a écrit : Salut Sous Nautilus 2.18.3 en Debian/Lenny. Je crée l'archive en faisant: clic-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un message d'erreur lorsque je crée un archive tar, tar.gz

Re: Nautilus problème tar

2007-12-20 Thread Charles Plessy
Le Thu, Dec 20, 2007 at 09:06:18AM +0100, Bernard Isambert a écrit : J'ai le même problème de message intempestif. Le plus fort, c'est que l'archive est créée quand même ! Apparemment, il n'y a aucun bug enregistré sur bugs.debian.org pour ce problème. Un volontaire pour écrire

Nautilus problème tar

2007-12-19 Thread nono
Salut Sous Nautilus 2.18.3 en Debian/Lenny. Je crée l'archive en faisant: clic-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un message d'erreur lorsque je crée un archive tar, tar.gz ou tar.bz2 (pas d'erreur avec zip) Le

Re: Nautilus problème tar

2007-12-19 Thread nono
Le mercredi 19 décembre 2007 à 10:02 +0100, nono a écrit : Salut Sous Nautilus 2.18.3 en Debian/Lenny. Je crée l'archive en faisant: clic-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un message d'erreur lorsque je

Re: Nautilus problème tar

2007-12-19 Thread Guy Roussin
-droit-sur-un-dossier - Créer-une-archive (ensuite je choisi le type d'archive tar ou zip, etc..) Avec Nautilus j'ai un message d'erreur lorsque je crée un archive tar, tar.gz ou tar.bz2 (pas d'erreur avec zip) Le message d'erreur : tar: Ceci ne ressemble pas à une archive de type « tar » tar: Statut

about tar backup

2007-12-04 Thread Nevruz Mesut Sahin
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

Re: about tar backup

2007-12-04 Thread Ron Johnson
-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 tar

Re: about tar backup

2007-12-04 Thread Jochen Schulz
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 name

Re: about tar backup

2007-12-04 Thread Ansgar Esztermann
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

comando tar

2007-11-08 Thread Nuria Perez
Hola, me gustaría saber y después de leerme el man y el help de tar no lo encuentro o es que no lo entiendo, ¿como hacer una tar de un directorio sin que meta los enlaces ? ¿cual es el modificador o bandera ? Intento hacer un tar del /home, pero hay unos enlaces a windows, claro hay muchos gigas

Re: comando tar

2007-11-08 Thread Aurelio Díaz-Ufano
¿has probado a evitar esos enlaces? O sea tar cvf /directorio/nombre.tar /home/directorio1 /home/directorio2, Así te creará el fichero.tar con los directorios del home que le indicas... Seguramente haya otra forma pero yo lo hago así El día 8/11/07, Nuria Perez [EMAIL PROTECTED] escribió

Re: comando tar

2007-11-08 Thread Blu
On Thu, Nov 08, 2007 at 02:45:58PM +0100, Aurelio Díaz-Ufano wrote: El día 8/11/07, Nuria Perez [EMAIL PROTECTED] escribió: Hola, me gustaría saber y después de leerme el man y el help de tar no lo encuentro o es que no lo entiendo, ¿como hacer una tar de un directorio sin que meta los

Re: comando tar

2007-11-08 Thread Federico Juarez
Nuria Perez escribió: Hola, me gustaría saber y después de leerme el man y el help de tar no lo encuentro o es que no lo entiendo, ¿como hacer una tar de un directorio sin que meta los enlaces ? ¿cual es el modificador o bandera ? Intento hacer un tar del /home, pero hay unos enlaces

Re: comando tar

2007-11-08 Thread Roberto D'Oliveira
El 8/11/07, Nuria Perez [EMAIL PROTECTED] escribió: Hola, me gustaría saber y después de leerme el man y el help de tar no lo encuentro o es que no lo entiendo, ¿como hacer una tar de un directorio sin que meta los enlaces ? ¿cual es el modificador o bandera ? Intento hacer un tar del

Re: Regarding tar and split

2007-10-15 Thread Rick Thomas
automatic way of pruning the older snapshots after they have aged appropriately. You may like it. Rick PS: This has gotten a bit far afield from tar and split... On Oct 13, 2007, at 1:11 PM, Paul E Condon wrote: It doesn't appear from the man page that rsync has the equivalent of cp --backup

Re: Regarding tar and split

2007-10-14 Thread s. keeling
interesting features (like the ability to seek to blocks in an archive). If I am not compressing the archive, does afio and/or cpio still have benefits that make it more appealing than tar? afio does notice that certain file types are already compressed and doesn't bother trying to compress them

Re: Regarding tar and split

2007-10-13 Thread Douglas A. Tutty
the archive, does afio and/or cpio still have benefits that make it more appealing than tar? I have about 80 GB of various stuff on my computer. I have a second computer for backups. I use 'cp -au --backup=t ...' to copy new versions of files onto the backup computer early every morning, and keep

Re: Regarding tar and split

2007-10-13 Thread Paul E Condon
the ability to seek to blocks in an archive). If I am not compressing the archive, does afio and/or cpio still have benefits that make it more appealing than tar? I have about 80 GB of various stuff on my computer. I have a second computer for backups. I use 'cp -au --backup=t

Re: Regarding tar and split

2007-10-13 Thread Jon Leonard
On Sat, Oct 13, 2007 at 11:11:35AM -0600, Paul E Condon wrote: [snip: remote backups] It doesn't appear from the man page that rsync has the equivalent of cp --backup=t I use this and it is important to me. Nothing ever is deleted from my backup until I do a clean-up sweep on it (which I have

Re: Regarding tar and split

2007-10-12 Thread David Brodbeck
On Oct 11, 2007, at 2:53 PM, Carl Johnson wrote: Are you sure that you are not talking about afio? I looked at the documentation for cpio, and there is no mention of compression (for etch). You're probably right. I tend to conflate the two in my mind. -- To UNSUBSCRIBE, email to [EMAIL

Re: Regarding tar and split

2007-10-12 Thread Paul E Condon
On Thu, Oct 11, 2007 at 11:09:04PM -0400, Celejar wrote: On Thu, 11 Oct 2007 20:48:10 +0200 Manon Metten [EMAIL PROTECTED] wrote: Hi Sean, You might consider using Lha. It does the same as tar and bzip2 together Tar itself integrates bzip2 via the 'j' switch. Manon. Celejar

Re: Regarding tar and split

2007-10-12 Thread Sean Zimmermann
don't compress well). I read through most of both tar's and afio's man pages, and afio seems to have some interesting features (like the ability to seek to blocks in an archive). If I am not compressing the archive, does afio and/or cpio still have benefits that make it more appealing than tar

Re: Regarding tar and split

2007-10-12 Thread Paul E Condon
appealing than tar? I have about 80 GB of various stuff on my computer. I have a second computer for backups. I use 'cp -au --backup=t ...' to copy new versions of files onto the backup computer early every morning, and keep all prior versions of the changed files. No archive format, No compression

Re: Regarding tar and split

2007-10-11 Thread Sean Zimmermann
Douglas A. Tutty dtutty at porchlight.ca writes: Tar archive isn't designed for this, since its designed for sequential devices. Have you considered using another archive format? Perhaps iso? You can split and join iso files, mount them with loop mount, compress, burn, whatever. Doug

Re: Regarding tar and split

2007-10-11 Thread David Brodbeck
On Oct 11, 2007, at 5:01 AM, Sean Zimmermann wrote: If I ignored the indexing issue (since most of my work with tar is large, non-incremental backups where I typically restore the entire contents - it would be nice if there was indexing, but is not a huge problem), should I still use

Re: Regarding tar and split

2007-10-11 Thread Manon Metten
Hi Sean, You might consider using Lha. It does the same as tar and bzip2 together (although you can disable compression). It has a simple syntax. You can also view the contents of the archive and even extract one single file from it. Example (suppose I have a 'work' dir with a.o. the file 'abc

Re: Regarding tar and split

2007-10-11 Thread Celejar
On Thu, 11 Oct 2007 20:48:10 +0200 Manon Metten [EMAIL PROTECTED] wrote: Hi Sean, You might consider using Lha. It does the same as tar and bzip2 together Tar itself integrates bzip2 via the 'j' switch. Manon. Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email

Re: Regarding tar and split

2007-10-11 Thread Carl Johnson
David Brodbeck [EMAIL PROTECTED] writes: On Oct 11, 2007, at 5:01 AM, Sean Zimmermann wrote: If I ignored the indexing issue (since most of my work with tar is large, non-incremental backups where I typically restore the entire contents - it would be nice if there was indexing

Regarding tar and split

2007-10-10 Thread Sean Zimmermann
Hello. I frequently work with large tar archives that often need to be split into smaller pieces. Up until now, I've used tar -m to create multi-part archives. I recently read that I can use split to do the same thing. Is there an advantage or disadvantage to using split over tar -m? Also

Re: Regarding tar and split

2007-10-10 Thread Simon Jolle sjolle
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/10/2007 11:43 AM, Sean Zimmermann wrote: Hello. Hi Sean I frequently work with large tar archives that often need to be split into smaller pieces. Up until now, I've used tar -m to create multi-part archives. I recently read that I can

Re: Regarding tar and split

2007-10-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/10/07 04:43, Sean Zimmermann wrote: Hello. I frequently work with large tar archives that often need to be split into smaller pieces. Up until now, I've used tar -m to create multi-part archives. I - -M recently read that I can use

Re: Regarding tar and split

2007-10-10 Thread Douglas A. Tutty
On Wed, Oct 10, 2007 at 09:43:33AM +, Sean Zimmermann wrote: Also, is there some way to index a large tar file, so if I want to extract a file at the end of a large archive, tar doesn't have to seek through the entire archive to get the file? Tar archive isn't designed

serveur sous sarge: problème de tar sur le contenu d'un LV

2007-09-09 Thread Thierry B
Bonjour, J'ai un serveur sous debian sarge (pas encore eu le temps de le passer sous etch lol). J'utilise raid + lvm et donc j'ai un LV en reiserfs dédié aux mails. J'ai voulu faire un tar du contenu de ce LV, pour sauvegarder l'ensemble de mes mails. J'ai fait comme ceci: Création d'un

Remover alguns tipos de arquivos do backup-tar(--exclude-from)

2007-09-03 Thread hamacker
Pois é, depois de algum tempo percebí que alguns tipos de arquivos não estavam sendo removidos do backup, eu uso como parametro no tar a opção --exclude-from=/listas/de/arquivos_a_serem_removidos.txt para retirar do .tar.gz arquivos como mp3, avi,temporarios,etc... Para isso o /listas/de

Re: Remover alguns tipos de arquivos do backup-tar(--exclude-from)

2007-09-03 Thread Thadeu Penna
Em 03/09/07, hamacker[EMAIL PROTECTED] escreveu: Pois é, depois de algum tempo percebí que alguns tipos de arquivos não estavam sendo removidos do backup, eu uso como parametro no tar a opção --exclude-from=/listas/de/arquivos_a_serem_removidos.txt para retirar do .tar.gz arquivos como mp3

Re: Remover alguns tipos de arquivos do backup-tar(--exclude-from)

2007-09-03 Thread hamacker
. []'s Em 03/09/07, Thadeu Penna[EMAIL PROTECTED] escreveu: Você rodou o tar por linha de comando ou em um script ? Eu tive um problema, uma certa vez, porque o tar não achava o exclude corretamente (tinha posto em ~/bin e o exclude não achava o ~). Só rodando o tar na linha de comando é que

Re: splitting tar files and zero padding

2007-06-13 Thread Mumia W.
On 06/12/2007 11:09 PM, Michael Gilbert wrote: hello, Hello Michael. my goal is to eliminate (or split out) the last file from a tar archive, and i'm having trouble understanding the extra bytes added and zero padding that is done to tar files. let me illustrate what i'm doing

splitting tar files and zero padding

2007-06-12 Thread Michael Gilbert
hello, my goal is to eliminate (or split out) the last file from a tar archive, and i'm having trouble understanding the extra bytes added and zero padding that is done to tar files. let me illustrate what i'm doing. first, i'll create some sample files $ dd if=/dev/urandom of=file1 count=100

Re: keeping tar quiet in script

2007-04-01 Thread Cédric Lucantis
Le samedi 31 mars 2007 21:55, Jorge Peixoto de Morais Neto a écrit : I'm using a simple script for making backups with tar. I can't make tar quiet, so cron keeps mailing me 'Removing leading `/' from member names' . Adding /dev/null doesn't help. What can I do to catch tar's output

keeping tar quiet in script

2007-03-31 Thread Peter Teunissen
Hi all, I'm using a simple script for making backups with tar. I can't make tar quiet, so cron keeps mailing me 'Removing leading `/' from member names' . Adding /dev/null doesn't help. What can I do to catch tar's output and keep it from shouting all over the place? Tnx, Peter

Re: keeping tar quiet in script

2007-03-31 Thread Pierre THIERRY
Scribit Peter Teunissen dies 31/03/2007 hora 21:48: Adding /dev/null doesn't help. What can I do to catch tar's output and keep it from shouting all over the place? What about the classical 1 /dev/null 21? Quicky, Pierre -- [EMAIL PROTECTED] OpenPGP 0xD9D50D8A signature.asc Description:

Re: keeping tar quiet in script

2007-03-31 Thread Jorge Peixoto de Morais Neto
I'm using a simple script for making backups with tar. I can't make tar quiet, so cron keeps mailing me 'Removing leading `/' from member names' . Adding /dev/null doesn't help. What can I do to catch tar's output and keep it from shouting all over the place? a /dev/null redirects stdout

Re: keeping tar quiet in script

2007-03-31 Thread Jorge Peixoto de Morais Neto
On 3/31/07, Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote: I'm using a simple script for making backups with tar. I can't make tar quiet, so cron keeps mailing me 'Removing leading `/' from member names' . Adding /dev/null doesn't help. What can I do to catch tar's output and keep

Re: keeping tar quiet in script

2007-03-31 Thread Jorge Peixoto de Morais Neto
What about the classical 1 /dev/null 21? This probably has identical behavior identical to /dev/null, but is longer to type. /dev/null seems less portable. Here I have bash and dash, and /dev/null does not work under dash. 1 /dev/null 21 works everywhere. -- Software is like sex: it is

Re: keeping tar quiet in script

2007-03-31 Thread Peter Teunissen
On 31-mrt-2007, at 21:56, Jorge Peixoto de Morais Neto wrote: On 3/31/07, Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote: I'm using a simple script for making backups with tar. I can't make tar quiet, so cron keeps mailing me 'Removing leading `/' from member names' . Adding

Re: keeping tar quiet in script

2007-03-31 Thread Roberto C . Sánchez
On Sat, Mar 31, 2007 at 05:01:31PM -0300, Jorge Peixoto de Morais Neto wrote: What about the classical 1 /dev/null 21? This probably has identical behavior identical to /dev/null, but is longer to type. /dev/null seems less portable. Here I have bash and dash, and /dev/null does not

Re: A silly question about tar

2007-03-20 Thread Tyler Smith
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, ls -1

Re: A silly question about tar

2007-03-20 Thread Douglas Allan Tutty
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 test subdirectory

Re: A silly question about tar [solved]

2007-03-19 Thread Adam Porter
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

Re: tar syntax and backing up

2007-03-19 Thread Cédric Lucantis
files on my harddrive and burned onto cds. I want to backup everything that has been modified since the last full backup, so I use: tar --newer-mtime ../mail4Mar07.tar.gz -cvzf 18Mar2007.tar.gz \ /home/tyler/bibtex/ /home/tyler/thesis/ /home/tyler/analysis/ \ /home/tyler/grassdata/ /home/tyler

Re: A silly question about tar

2007-03-19 Thread Vincent Lefevre
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

Re: A silly question about tar [solved]

2007-03-19 Thread Greg Folkert
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

Re: A silly question about tar

2007-03-18 Thread Chanan Berler
i think it's best to use the find command - something like that find . -type f -name *.tar.bz2 -exec tar xjf {} \; ps: try this first to check u get the filelist u wanted: find . -type f -name *.tar.bz2 Adam Porter wrote: I've read the man page, googled this list and the rest of the Net

tar syntax and backing up

2007-03-18 Thread Tyler Smith
everything that has been modified since the last full backup, so I use: tar --newer-mtime ../mail4Mar07.tar.gz -cvzf 18Mar2007.tar.gz \ /home/tyler/bibtex/ /home/tyler/thesis/ /home/tyler/analysis/ \ /home/tyler/grassdata/ /home/tyler/Mail/ As far as I can tell from the output and tar -t

Re: tar syntax and backing up

2007-03-18 Thread Roberto C . Sánchez
in tar.gz files on my harddrive and burned onto cds. I want to backup everything that has been modified since the last full backup, so I use: tar --newer-mtime ../mail4Mar07.tar.gz -cvzf 18Mar2007.tar.gz \ /home/tyler/bibtex/ /home/tyler/thesis/ /home/tyler/analysis/ \ /home/tyler/grassdata

Re: tar syntax and backing up

2007-03-18 Thread Douglas Allan Tutty
On Sun, Mar 18, 2007 at 04:14:39PM +, Tyler Smith wrote: Hi, Related to another post concerning the possible demise of my harddrive, I thought I'd better confirm with wiser people that my backup plan is doing what I think it's doing. I've got a full backup of all my important data in

A silly question about tar

2007-03-17 Thread Adam Porter
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

Re: A silly question about tar

2007-03-17 Thread Adam Porter
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

Re: A silly question about tar

2007-03-17 Thread Cameron Hutchison
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 already

Re: A silly question about tar

2007-03-17 Thread Douglas Allan Tutty
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

<    1   2   3   4   5   6   7   8   9   10   >