06-03-2011
Is there any way to find the compressed size of a file without compressing it in linux
i need to backup a directory from one partition to another and and compress that directory after backing up, so i need to predict the compressed size of the directory with out actually compressing it, to check whether the space is available in the destination partition to accommodate the zipped file. is there any way ?
10 More Discussions You Might Find Interesting
1. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
2. Shell Programming and Scripting
Hi Gurus,
Can someone let me know how to find the RAM size,ROM size and Number of processors for a linux server.
Version :Linux 2.4.9-e.57smp
Also what does "e.57smp" stands for?
Thanks in advance gurus.....
cheers. (3 Replies)
Discussion started by: navojit dutta
3 Replies
3. Shell Programming and Scripting
My Question is
-----------------
Assume you've a directory (i.e /home/test/) which contains n number of files,
rename all the files which has byte count more than zero (0) with .bak extension.
Write shell script to achieve this output,
execute the same without using". / " in front of... (6 Replies)
Discussion started by: hgriva1
6 Replies
4. Shell Programming and Scripting
Hi,
I have to directory
/usr/inbound
-------------
10900.txt
10889.txt
109290202.txt
I need to create inbound directory
and i need to know size of these files one by one
if file size is zero i need to print message like "empty file"
Please help me how to solve this
thanks
krish. (4 Replies)
Discussion started by: kittusri9
4 Replies
5. Shell Programming and Scripting
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
Discussion started by: rpraharaj84
3 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to find all tar and compressed files (say gzip). I'm having to assume that the tar and gzip files may or may not have the correct extension (.tar .gz .tgz etc).
Any help appreciated (2 Replies)
Discussion started by: andyatit
2 Replies
7. AIX
Dear All,
I have hunderds of files. I just want to compress all the files which limits to 4GB. that is need compress the files and the zip file should not exceed the 4gb. Can please give me solution for that.
Thanks in advance.
Kishore (1 Reply)
Discussion started by: tvbhkishore
1 Replies
8. Linux
Hi,
How do i find Linux kernel page size using command ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
9. Filesystems, Disks and Memory
Hi Everybody:
I'm searching a compressed Filesystem for a external disk, what I use for a full, diary and differential Backup.
The performance is not important, I search the best option for compress data, but I want have access to structure disk, with directories and files in the Backup disk.... (6 Replies)
Discussion started by: bypper
6 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
Is there is any way to find the size of compressed file without doing decompression. The size should give the original uncompressed data size
Thanks
Arun (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
efi(4) Kernel Interfaces Manual efi(4)
NAME
efi - Extensible Firmware Interface description
DESCRIPTION
The EFI (Extensible Firmware Interface) is an interface between HP-UX and the Itanium-based platform firmware. The file system supported
by the Extensible Firmware Interface is based on the FAT file system. EFI encompasses the use of FAT-32 for a system partition, and FAT-12
or FAT-16 for removable media. The system partition is required on a bootable disk for the Itanium-based platform.
For a hard disk, the system partition is a contiguous grouping of sectors on the disk, where the starting sector and size are defined by
the EFI partition table, which resides on the second logical block of the hard disk, and/or by the Master Boot Record (MBR), which resides
on the first sector of the hard disk. For a floppy disk, a partition is defined to be the entire disk.
The System Partition can contain directories, data files, and EFI Images. The EFI system firmware may search the directory of the EFI sys-
tem partition, EFI volume, to find possible EFI Images that can be loaded. The HP-UX bootloader is one example of an EFI Image.
HP-UX contains a set of EFI utilities:
efi_fsinit(1M) Initialize an EFI volume; that is, create a header and an empty directory.
efi_cp(1M) Copy files to and from an EFI volume.
efi_mkdir(1M) Create directories in an EFI volume.
efi_ls(1M) List the contents of an EFI volume.
efi_rm(1M) Remove files from an EFI volume.
efi_rmdir(1M) Remove directories from an EFI volume.
The EFI utilities are the only utilities in HP-UX where the internal structure of an EFI volume is known. To the rest of HP-UX, an EFI
system partition is simply a partition containing unspecified data. The EFI volume cannot be mounted to HP-UX currently.
An EFI volume can be created on any HP-UX file (either regular disk file or device special file) that supports random access via lseek(2).
Within an EFI volume, individual files and directories are identified by 1- to 255-character file names. File names can consist of any
alphanumeric characters (A through Z, a through z, and 0 through 9) and the certain set of special characters (. $ % ' - _ @ ~ ` ! ( ) + ,
: ; = # & ? ^ [ ] { } space). The first character of an EFI file name can be any valid EFI characters, except the space. When comparing
two EFI names, differences in the case of alphabetic characters are not significant. For example, the following file names are considered
the same:
If one exists, the user will not be able to create the other.
The directory may be made up of multiple components, separated by slashes(/). The last directory component must be followed by a slash to
separate it from the file name. There are two special directory components, (.) and (..). They represent the current directory and the
parent directory as in other file systems.
SEE ALSO
efi_cp(1M), efi_fsinit(1M), efi_ls(1M), efi_mkdir(1M), efi_rm(1M), efi_rmdir(1M).
Itanium(R)-Based Processor Family Only efi(4)