Sponsored Content
Top Forums UNIX for Dummies Questions & Answers using Tar -cvf file.tar "Need Help" Post 74985 by wev on Tuesday 14th of June 2005 04:35:58 PM
Old 06-14-2005
I have no say where the original files to be tarred are located, and where the location of the tarred file once tarred. These are set locations.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

using TAR -cvf test.tar "HELP"

Ok, I use the command tar -cvf /home/output/test.tar /home/input on one UNIX server, lets call it sneezy. I FTP the tared file over to another server, lets call it bashful. Use the tar -xvf test.tar command and get a error indicating that it is looking for the same directory as where the... (3 Replies)
Discussion started by: wev
3 Replies

2. AIX

"tar" Check sum error

I have a tar file that contains some 50 files in it. while trying to untar i get a checksum error. iam unable to retreive the fiiles from that. Can anyone please help me...? (3 Replies)
Discussion started by: balaa
3 Replies

3. UNIX for Dummies Questions & Answers

shortcut for tar cvf - [filename] | gzip > [filename].tar.gz

i'd like to have an alias (or something similar) where i can type a command like "archive" and a filename and have it tar and gzip the file, so... $ archive filename results in filename.tar.gz...do i have to write a script to do this? (4 Replies)
Discussion started by: bcamp1973
4 Replies

4. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

5. Shell Programming and Scripting

tar "--totals" writes to stderr not stdout?

I want to use the "--totals" option in GNU tar for some reporting, however I have discovered that it writes the output to stderr not stdout and I would like to know why. This is running from BASH. mkdir /tmp/test touch /tmp/test/foo.file cd /tmp/ tar --totals -clpzf test.tar.gz test 2>... (2 Replies)
Discussion started by: jelloir
2 Replies

6. Shell Programming and Scripting

Bus error while using command tar -cvf

Hi, I am working on a mac OSX machine. I am getting bus error :confused: when i use the command tar -cvf file1.tar file1 What could be the reason for this?? (1 Reply)
Discussion started by: shweeths
1 Replies

7. Shell Programming and Scripting

identify files with "Normal termination" and compress them into a .tar.gz file

Hi, I have hundreds of files "*.out" located in one folder, and I want to: 1. Identify the good files containing "Normal termination" (grep "Normal termination" *.out ) 2. Compress the good files into a tar.gz file (tar cvfz good.tar.gz *.goog.out ) Is there a way I can automate this... (4 Replies)
Discussion started by: rockytodd
4 Replies

8. UNIX for Advanced & Expert Users

"Walk" apache installs and do a tar on them...

Hello unix.com Community: I need help with writing a "common" script that can get the httpd installs by name and install directory|ies and tar.gz them up by name and point that tar operation to the matching install directory. I have 2 Distros that I am concerned with for this task: CentOS and... (3 Replies)
Discussion started by: Habitual
3 Replies

9. Ubuntu

What is solution for this error "tar: Exiting with failure status due to previous errors"?

Does anyone know what is solution for this error ?tar: Exiting with failure status due to previous errors from last 3 days I am trying to take backup of home/user directory getting again and again same error please anyone give me solution (8 Replies)
Discussion started by: Akshay Hegde
8 Replies
TC2HTML-TOC(1)						      General Commands Manual						    TC2HTML-TOC(1)

NAME
tc2html-toc - table of contents processor for tc2html SYNTAX
tc2html-toc file ... DESCRIPTION
tc2html is a postprocessor for troffcvt that produces Hypertext Markup Language (HTML). tc2html is capable of generating a table of con- tents (TOC). However, since TOC entries cannot all be known until the entire input document has been read, tc2html writes the TOC near the end of the HTML document. To handle this problem, tc2html-toc examines tc2html output for a table of contents and moves it to the correct location. tc2html-toc is invoked for your automatically if you use troff2html (which also invokes tc2html). If you run tc2html manually, you must also run tc2html- toc manually. tc2html and tc2html-toc cooperate by means of the following conventions. If tc2html writes a TOC, it surrounds them with the following two HTML comments: <!-- TOC BEGIN --> <!-- TOC END --> If the user wishes to explicitly specify a location for the TOC, this may be done by invoking the .H*toc*title request in the document. This request writes a TOC title followed by this HTML comment: <!-- INSERT TOC HERE --> In addition, macro package redefinitions used with tc2html can make a guess about where the TOC should be located in the absence of an explicit location marker. To do so, a redefinition can write the following advisory marker comment: <!-- INSERT TOC HERE, MAYBE --> For example, redefinitions for the -man macros can write an advisory location for the TOC after the .TH macro invocation has been seen. Given these conventions, tc2html-toc reads the input and examines it for the TOC and TOC location. The input is written unchanged to the output if no TOC is found. Otherwise, the locations listed below are used to reposition the TOC (with locations listed first taking prior- ity): o The position of the TOC location marker. o The position of the advisory TOC location marker. o The beginning of the <BODY> part of the document. SEE ALSO
troffcvt(1), tc2html(1), troff2html(1) WHO-TO-BLAME Paul DuBois, dubois@primate.wisc.edu. DIAGNOSTICS
tc2html-toc exits with an error if it discovers that the TOC location marker lies within the TOC itself. TC2HTML-TOC(1)
All times are GMT -4. The time now is 07:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy