Sponsored Content
Top Forums UNIX for Advanced & Expert Users Compress files with output to tape Post 6137 by Optimus_P on Thursday 30th of August 2001 10:19:58 AM
Old 08-30-2001
what os are you running. diffearnt os's have differant backup commands that support diffearnt options.

with the tar command you can have it written directly to tape. there are many examples in the man page.

#man tar
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to Compress log files?

Hi, I have my log files in /home/user1/temp2/logs i want to archive *.log and *.txt files and to store in my /home/user1/temp2/archved/ with *.log with Time stamp ,Please let me know how to do this? (1 Reply)
Discussion started by: redlotus72
1 Replies

2. Shell Programming and Scripting

Compress all INACTIVE Files

Hi gurus, I have a batch job running daily night automatically. The job produces file with extension '.0' like a.0, b.0 etc. Now due to file space constraints, most of the time, the job fails with insufficient disk space and then we have to manually start the job again and keep running the... (1 Reply)
Discussion started by: super_duper_guy
1 Replies

3. UNIX for Dummies Questions & Answers

Compress files

Hi All, I would like to archive some of the scripts below(USFINUM042006_01.CSV USFINUM042006_02.CSV and USFINUM042006_03.CSV )and also use a wildcard e.g. <command> USFINUM*.CSV. Also there are a lot of similar files but I want only the three latest files to be compressed. Which is the best... (3 Replies)
Discussion started by: indira
3 Replies

4. UNIX for Dummies Questions & Answers

how to compress html files

Hello, On a Centos 5.0 server, Apache 2.2 delivers static html page. How could I compress those html pages to gain speed and save bandwidth? is there a utility that would be effective and save? Thanks (2 Replies)
Discussion started by: JCR
2 Replies

5. Shell Programming and Scripting

compress files

Could someone give me an idea how to compress all files from a given directory that are not of type .z (compressed). Please help. (2 Replies)
Discussion started by: lesstjm
2 Replies

6. UNIX for Dummies Questions & Answers

Compress multiple files at one go

I want to compress all the files which are three years older ..I have thousands of files... 1) This doesnt work find ./ -type f -mtime +1176 -print | xargs -n1 -i tar -cvf {} Errror tar: Missing filenames Probably because of - find ./ -type f -mtime -1 -print returns - " ./temp.txt"... (6 Replies)
Discussion started by: kedar.mehta
6 Replies

7. UNIX for Dummies Questions & Answers

How to compress files without extension

Could someone please help? I'm trying to compress all the files in a directory without extension. I know for typical files with extension, the command is something like: tar -zcvf file.tar.gz *.doc What is the command for files without extension? Thanks. (4 Replies)
Discussion started by: AChan1118
4 Replies

8. UNIX for Dummies Questions & Answers

Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All ! We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows. I have used the utility ZIP like the below. zip -e <newfilename> df2_test_extract.dat but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies

9. Shell Programming and Scripting

Compress a particular month files

Hi ALL, I am working on a folder where there are lot of files for the past one year. I need to compress a particular month files alone. suppose i need to compress the feb month files alone, what is the script we can use. Thanks in advance (2 Replies)
Discussion started by: acronis.84
2 Replies

10. UNIX for Dummies Questions & Answers

How do I compress all files in a directory?

the problem states "Write a script that compresses all the files in the directory. Make a directory and put some files in it. Also make a sub directory in your directory and put files in it also. Once you have this basic ability to compress all files within a directory, add to your script a menu of... (1 Reply)
Discussion started by: Brittany
1 Replies
dds2index(1)						      General Commands Manual						      dds2index(1)

NAME
dds2index - tool to create an indexfile for the use of SYNOPSIS
dds2index [options] DESCRIPTION
dds2index creates an index file that is required by the file extraction utility dds2tar(1). It works on tar archives stored on dds tape devices (DAT). Since the file structure of the tape archives is used to extract the files, the archive must be an uncompressed tar ar- chive. But compression by the transparent signal processor of the tape device is allowed. The index created by dds2index is written to stdout by default and should normally be stored on hard disk as indexfile for later use by dds2tar(1). The default tape device to read from is /dev/nst0, which may be overridden with the environment variable TAPE, which in turn may be over- ridden with the -f device option. The device must be a SCSI tape device. OPTIONS
-f devicefile device of the tape archive. Must be a character special file. -t indexfile write the index to indexfile, not to stdout. -z,--compress write the index in (gzip) compressed mode. --help print some screens of online help with examples through a pager and exit immediatley. OPTIONS you didn't really need -b, --block-size Set the maximal blocksize, dds2index can handle. --z, --no-compress Don't filter the archive file through gzip. -v,--verbose verbose mode. Print to stderr what is going on. -h,--hash-mode Print a hash sign '#' to stderr for each MB read from tape. -V,--version Print the version number of dds2index to stderr and exit immediately. EXAMPLES
Example of getting the index from the default tape /dev/nst0 and storing it in file archive.idx: dds2index -v -t archive.idx WARNING
This program can only read records (tar is calling them tape blocks) up to 32 kbytes. A bigger buffer will cause problems with the Linux device driver. ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/nst0. FILES
/dev/nst0 default tape device file. Must be a character special file. SEE ALSO
dds2tar(1), mt(1), mt-dds(1), tar(1), gzip(1) HISTORY
This program was created as a tool for dds2tar(1). AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo 2.4 dds2index(1)
All times are GMT -4. The time now is 06:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy