11-30-2007
purple
my GZIP Files have no extension. its just appear without extension. So, litterally just to see the files it is not possible which one is data and which one is Gzip.
Quote:
Originally Posted by
porter
If "file" can tell you what is a gzipped file, then use that to tell you in the script.
Please provide me the coding lines how to define "file" in script....
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I was wondering if there is a way to give my regular user on Linux right to the /var/www/html folder and files therin without going into SU mode every time.
Thanks.
Gregg (1 Reply)
Discussion started by: gdboling
1 Replies
2. Shell Programming and Scripting
Hello,
I have a java program which i am calling in shell script. I wanted to redirect output to 2 differetn files. Output should have both 1 & 2 (normal and error) in both file.
pls help (2 Replies)
Discussion started by: balareddy
2 Replies
3. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
4. UNIX for Advanced & Expert Users
Hi there:
Is there any fest way to upzip files that distributed in several directories and their sub-directory instead of unzipping them directory by directory??
Thanks a lot!!! (1 Reply)
Discussion started by: cls3415
1 Replies
5. Shell Programming and Scripting
Hi ,
I have a file which is with extension .tla.
I have no idea what file it is so can anybody let me know what it is?.
Regards,
Chetan.C (1 Reply)
Discussion started by: chetan.c
1 Replies
6. Shell Programming and Scripting
Hi,
In file zip folder i have many files but i want to extract onlu .LOG file from the zip.
How can i achive this
Rajesh (3 Replies)
Discussion started by: guddu_12
3 Replies
7. UNIX for Dummies Questions & Answers
I have a list of zip files and regular files in a folder
/home/data/
Example:
PMExtra_A123_ABC_121001020000.zip
PMExtra_B596_GRT_121001020000.zip
PMExtra_C156_SFD_121001020000.zip
PMExtra_S243_KDF_121001020000.xml
PMExtra_L234_IDF_121001020000.xml
I have to unzip all the .zip... (8 Replies)
Discussion started by: eskay
8 Replies
8. AIX
I have a bunch of hidden files in a directory in AIX. I would like to move these hidden files as regular files to another directory.
Say i have the following files in directory /x
.test~1234~567
.report~5678~123
.find~9876~576
i would like to move them to directory /y as
test~1234~567... (10 Replies)
Discussion started by: umesh.narain
10 Replies
9. Shell Programming and Scripting
Hi all,
I have a many folders with zipped files in them. The zipped files are txt files from different folders. The txt files have the same names. If i try to
find . -type f -name "*.zip" -exec cp -R {} /myhome/ZIP \; it fails since the ZIP files from different folders have the same names and... (2 Replies)
Discussion started by: pmkenya
2 Replies
10. Shell Programming and Scripting
Hi frnds,
My requirement is I have a zip file with name say eg: test_ABC_UH_ccde2a_awdeaea_20150422.zip
within that there are subdirectories on each directory we again have .zip files and in that we have files like mama20150422.gz and so on.
Iam in need of a bash script so that it unzips... (0 Replies)
Discussion started by: Ravi Kishore
0 Replies
LEARN ABOUT DEBIAN
deb-old
deb-old(5) Debian deb-old(5)
NAME
deb-old - old style Debian binary package format
SYNOPSIS
filename.deb
DESCRIPTION
The .deb format is the Debian binary package file format. This manual page describes the old format, used before Debian 0.93. Please see
deb(5) for details of the new format.
FORMAT
The file is two lines of format information as ASCII text, followed by two concatenated gzipped ustar files.
The first line is the format version number padded to 8 digits, and is 0.939000 for all old-format archives.
The second line is a decimal string (without leading zeroes) giving the length of the first gzipped tarfile.
Each of these lines is terminated with a single newline character.
The first tarfile contains the control information, as a series of ordinary files. The file control must be present, as it contains the
core control information.
In some very old archives, the files in the control tarfile may optionally be in a DEBIAN subdirectory. In that case, the DEBIAN subdirec-
tory will be in the control tarfile too, and the control tarfile will have only files in that directory. Optionally the control tarfile may
contain an entry for `.', that is, the current directory.
The second gzipped tarfile is the filesystem archive, containing pathnames relative to the root directory of the system to be installed on.
The pathnames do not have leading slashes.
SEE ALSO
deb(5), dpkg-deb(1), deb-control(5).
Debian Project 2011-08-14 deb-old(5)