04-29-2008
The point is that it seems useless to archive a file in an archive individually, if its just to save space then just gzip the lot ... you wont have a file and its archived gzipped alter ego then, but just compressed files...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all
How to unzip .tgz files
waiting for suggestions
Praful (5 Replies)
Discussion started by: Prafulla
5 Replies
2. UNIX for Dummies Questions & Answers
Let's say I've got File.tgz that contains:-
Apple.txt
Banana.txt
Carrot.txt
AppleBanana.txt
Now, I would like to only extract files that contain the patter "Apple".
I've tried this
tar -xvf File.tgz 'tar -tf File.tgz | grep 'Apple''
but it does not work. Please help. Thanks. (12 Replies)
Discussion started by: percivalwcy
12 Replies
3. Shell Programming and Scripting
Hi All,
I am using the awk command to replace ',' by '\t' (tabs) in a csv file. I would like to apply this to all .csv files in a directory and create .txt files with the tabs.
How would I do this in a script?
I have the following script called "csvtabs":
awk 'BEGIN {
FS... (4 Replies)
Discussion started by: ScKaSx
4 Replies
4. Shell Programming and Scripting
Hi,
I have already created the tar files. which consist of some log files and Audit.csv
plz see the below code for that
================================================
tar -Pczf ARCH/${arc_date}.tgz $LOG/*.log $REYE/CEP/FiAdapter/Audit.${arc_date}.csv
... (3 Replies)
Discussion started by: pspriyanka
3 Replies
5. Shell Programming and Scripting
Say you don't want to unpack the whole thing, just individual files or directories within a .tgz. How to do this? (1 Reply)
Discussion started by: stevensw
1 Replies
6. Shell Programming and Scripting
Hi All,
I am completely stuck here.
I have a set of files (with names A.txt, B.txt until L.txt) which contain words like these:
computer
random access memory
computer networking
mouse
terminal
windows
All the files from A.txt to L.txt have the same format i.e. complete words in... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
7. Shell Programming and Scripting
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Discussion started by: goddevil
2 Replies
8. Solaris
I have some Solaris 9 systems and I'm interested in using the "fm" audit class to track changes to sensitive files but it's too verbose for it to be auditing to that level for EVERY file, so I was wondering if there were a way of restricting the audit of those events to particular files.
I... (0 Replies)
Discussion started by: thmnetwork
0 Replies
9. Shell Programming and Scripting
Hey,
I have number of .tgz files and want to extract the file with the ending *results.txt from each one.
I have tried
for file in *.tgz; do tar --wildcards -zxf $file *results.txt; doneas well as
list=$(ls *.tgz)
for i in $list; do tar --wildcards -zxvf $i *.results.txt; done... (1 Reply)
Discussion started by: jfern
1 Replies
10. UNIX for Dummies Questions & Answers
Hello,
i'm having a problem here with FreeBSD 9.2 . I've created a directory and downloaded the latest ntp-4.2.8p1-beta2 from ntp.org. Untar then into the directory and then
./configure all went OK. Then i had to modify some parameters in the config.h created with ./configure . Then
make... (2 Replies)
Discussion started by: Board27
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)