I need help. I need to compress, (.tar) a file named file.text and append the date on its file name, from file.text, it should now be file_120724.tar.
The problem now with my below script is that it place the .tar file on the location where the script is located, not on the location of the original file likewise, it also compress the whole directory, not the file that I want to compress.
Thanks a lot.
Last edited by Scott; 07-24-2012 at 04:58 AM..
Reason: Use code tags
My OS SunOS perfs01 5.8 Generic_117350-23 sun4u sparc SUNW,UltraAX-i2.
I have a tar file which include extra files that I don't want. How can I remove these files from my tar file?
thanks. (0 Replies)
Hi All
Can someone pls guide me if there any utility to compress file on windows & uncompress on vxworks
I tried as -
- compressed some folders on windows ... i created .tar ( to maintain directory structure ) and compressed to .gz format.
- on VxWorks i have uncompressed it to .tar... (1 Reply)
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)
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem?
tar tvf file1.tar
... (1 Reply)
Hello Team,
Would you please help me with a UNIX command that would check if file is a tar file.
if we dont have that , can you help me with UNIX command that would check if file ends with .tar
Thanks in advance. (10 Replies)
Quick question,
is it possible to make a Tar of completely directory and placing the tar file in it (will this cause even the tar file to tarred ?)
sample:
/opt/freeware/bin/tar -cvf - /oracle | gzip > /oracle/backup.tgz
will the tar file backup.tgz also include backup.tgz ?
i tried... (5 Replies)
Coming from this thread, just wondering if there is an option to check if the Tar of the files/directory will be without any file-errors without actually making the tar.
Scenario:
Let's say you have a directory of 20GB, but you don't have the space to make Tar file at the moment, and you want... (14 Replies)
Discussion started by: filosophizer
14 Replies
LEARN ABOUT HPUX
ftpconversions
ftpconversions(4) Kernel Interfaces Manual ftpconversions(4)NAME
ftpconversions - ftpd conversions database
SYNOPSIS DESCRIPTION
The conversions known by and their attributes are stored in an ASCII file that is structured as below. Each line in the file provides a
description for a single conversion. Fields are separated by colons (:).
Field Description
1 strip prefix
2 strip postfix
3 addon prefix
4 addon postfix
5 external command
6 types
7 options
8 description
strip postfix and addon postfix can be the file extensions or or or The file extensions the ftp server supports and the action that the ftp
server performs is summarized in the table below. This feature is supported only when using the command.
| |
True Filename | Specified Filename | Action
--------------+--------------------+---------------------------------------
filename.Z | filename | Decompress file before transmitting
filename | filename.Z | Compress filename before transmitting
filename | filename.tar | Tar filename before transmitting
filename | filename.tar.Z | Tar and compress filename
| | before transmitting
external command field is used to specify the path of the program/script to be used to perform the action specified for the different file
extensions as described in the above table.
types field indicates the flags that must be checked before compressing, decompressing, tarring and untarring the file requested by the
command.
options field specifies the options for the program/script specified in the external command field.
description is a short description of each conversion.
NOTE: The HP-UX command does not support any option to do or If the user wants to perform any such action, he/she must then write his/her
own program/script to do it and specify the pathname of the program/script in the external command field in the file. Also a copy of the
programs/scripts used to perform the conversions and the respective libraries used by the programs/scripts must be copied into the home
directory of each of the and user accounts for the and users to be able to perform on-the-fly conversions.
WARNINGS
The conversions mechanism does not currently support the strip prefix and addon prefix fields.
FILES AUTHOR
was developed by the Washington University, St. Louis, Missouri.
SEE ALSO ftpd(1M), ftpaccess(4).
ftpconversions(4)