10-23-2012
Quote:
Originally Posted by
Pawan Kumar
will above command standard?
I don't think your question translated.
Quote:
I have only concern is that wthether the above command generates tar file temporarily then delete afterwards? or it not at all generates tar file?
No, it compresses in-place, with no need for temporary file.
Both methods do, actually.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello, im a newbie in unix scripting. can someone pls send me a sample script that will tar files in the folders of a specific directory, but will exclude specific files, and afterwards, will ftp the tar into another server.
for example:
in this directory, pshrprod:/opt/psoft/weblogic/818sp9_80... (2 Replies)
Discussion started by: ajrandrup
2 Replies
2. Shell Programming and Scripting
Hi,
I am getting following error while running script:
tar: can't change directories to /home/xyz/script: No such file or directory
tar: compress: No such file or directory
tar: getts.tar same as archive file
Following is my script:
#!/bin/bash
echo "You want:"
echo "1. zip... (1 Reply)
Discussion started by: Rakesh Bhat
1 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
Need help. Anybody seen this kind of file before?
file.tgz.1of2
file.tgz.2of2
how to extract this tgz file? Any help?
Tq (5 Replies)
Discussion started by: zeedwolf
5 Replies
4. UNIX for Dummies Questions & Answers
Hi
I have done a search for this but couldn't find much on it.
I am creating a tar file with the command below
tar cvf /export/home/user/backup/*Will this is being created I have a job spooling to 5 texts files in the following directory /export/home/user/backup/STATS/
The tar files... (1 Reply)
Discussion started by: sgarvan
1 Replies
5. Solaris
Hello all.
I have a tar file that contains a number of files that are stored in different directories.
If I extract this tar file with -xvf , the directories get created.
Is there a way to extract all of the files into one directory without creating the directories stored in the tar file. (9 Replies)
Discussion started by: gkb
9 Replies
6. UNIX for Advanced & Expert Users
Hello. I`m writing a bash script who archive log files and send them to backup server. I need some kind of checking mechanism for *.tar.gz files.
I found something like: gunzip -t file.tar.gz //Not output from it.
And for tar: tar tf file.tar.gz //Only lists archive
1.) I need make a... (3 Replies)
Discussion started by: jabalv
3 Replies
7. Shell Programming and Scripting
Following are the list of files available in the dataout directory
a1.txt.gz
a2.txt.gz
b3.txt.gzStep 1:
now the tar file needs to be created as follows.
tar -cvf ab.tar *.gzAll the files with extn .gzg has to be bundled in the tar file.
Once the tar file is created, the files which are... (9 Replies)
Discussion started by: kmanivan82
9 Replies
8. Shell Programming and Scripting
Hi,
On server there is an one folder . which contains sub folder
Eg - TEST folder contains
test1, test2, execr ,tt (folder). also includes some text file like abc.txt psp.txt gg.log.
here iwant to create tgz file for all the folders and file in one time.
I know the command... (1 Reply)
Discussion started by: aish11
1 Replies
9. Windows & DOS: Issues & Discussions
Hi,
How to create a .tar file in windows OS..
I need to ftp tat <filename>.tar file into AIX and untar it there and will use for futher actions..
Please help.. Thanks in advance.. (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
10. AIX
Hello,
I have openssl.0.9.8.1103.tar.tgz file which I have downloaded from https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl siteThe website says that the file name is openssl.0.9.8.1103.tar.z but when downloaded I get openssl.0.9.8.1103.tar.tgz as the... (2 Replies)
Discussion started by: gaugeta
2 Replies
LEARN ABOUT DEBIAN
bootcdflopcp
BOOTCD(1) bootcd utils BOOTCD(1)
NAME
bootcdflopcp - copy changes made after booting from bootcd to floppy
SYNOPSIS
bootcdflopcp [-v] [-d <device>]
DESCRIPTION
bootcdflopcp will copy changes made in ram to the floppy disk. bootcdflopcp will be available as soon as your system is running from cd.
The floppy has to have a filesystem already. (See mke2fs or mformat). If you have to boot from floppy, because your cd-drive or bios does
not support to boot from cd a msdos filesystem is used to run syslinux. When bootcdflopcp is called it searches for differences between
RAM and CD. For each different file, it checks if it is listed in the files ignore, remove or change on floppy. If it is listed in change
it will be saved to change.tgz on floppy. If it is listed in remove the file will be removed from ram next boot time. If it is listed in
ignore it will be ignored. If it is not listed at all you will be interactively asked what to do.
OPTIONS
-v The option "-v" (verbose) adds messages on running.
-d <device>
Use another device instead of "/dev/fd0" to save changes.
FILES
FLOPPY:/remove
If a file is listed here the file will be deleted from ram next boot time.
FLOPPY:/change
If a file is listed here bootcdflopcp will save it in change.tgz.
FLOPPY:/ignore
If a file is listed here bootcdflopcp will ignore changes to this file.
FLOPPY:/change.tgz
Here all changed files are stored in gzipped tar format.
SEE ALSO
bootcd(1), bootcd2disk(1), bootcdwrite(1)
AUTHOR
This manual page was written by Bernd Schumacher <bernd.schumacher@hp.com>, for the Debian GNU/Linux system (but may be used by others).
Wed Feb 23 00:00:00 EET 2000 BOOTCD(1)