01-18-2005
OK, thanx. It does work on large files. I'm just wondering why it doesn't work on this file. Sure it's a small file - only 65 bytes.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
im doing a script to compress files in ${CompressPath} withe files older than ${FileAge}. The line below actually works, but I only need to compress files that are in ${CompressPath}. This line compresses all files that it can find under the ${CompressPath} and all its sub dirs. is there a way to... (6 Replies)
Discussion started by: tads98
6 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to compress a dmp file and ftp to another machine.pls tell me the steps to compress and uncompress the file in unix
Thankyou (5 Replies)
Discussion started by: rujupriya
5 Replies
3. Shell Programming and Scripting
Hi,
I have a script that ftp's to over 100 deifferent servers in turn, gets a specific file, renames it and drops it onto a local backup server. The files vary in size from 4mb to 150mb. I am within a secure intranet to security with ftp is not an issue. I want to auto compress the file... (1 Reply)
Discussion started by: MrMac
1 Replies
4. UNIX for Advanced & Expert Users
hi,
I need to compress a couple files in a directory.i tried using
tar cvf filename1 filename2
but i am not able to open tar file.
please suggest how to compress more than one file in to same file
thanks in advance (2 Replies)
Discussion started by: prasee
2 Replies
5. Shell Programming and Scripting
Dear All,
I have to compress entire files of folder is size of 1.10 GB. It is to be held on Windows NT machine.
I have a folder called /folder1/. It contains around 200 files of size 1.10 gb. I want to compress those files in a zipped file. Compress process to be an automated process. Because... (0 Replies)
Discussion started by: moorthygs
0 Replies
6. Shell Programming and Scripting
Hi,
I am looking for the unix script which can takes the 2 month old data from a TXT file (there is one txt file in whiche messages are appended on daily basis) and compress them into new file.Please halp me out. (2 Replies)
Discussion started by: vpandey
2 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I wanted to know how to compress a .zlib file..
an working on unix
so pls suggest accordingly.
the file is pretty big(500 mb)
also i would like to know any weblinks where i can get more info on various compressions commands in unix
i have tried zip,compress commands
but i have not... (1 Reply)
Discussion started by: wrapster
1 Replies
8. UNIX for Dummies Questions & Answers
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. Red Hat
Hi,
When we want to compress a file which is of huge size then what command is best for us.Kindly suggest on this.
1.Tar command or
2.gzip command
OS -- Linux 2.6
Regards,
Maddy (6 Replies)
Discussion started by: Maddy123
6 Replies
10. Shell Programming and Scripting
Dear Experts,
I am new to this forum. Thank you for moderator to allow me to join.
I have a question about automatic compression using sh and crontab
on an application which runs on the Suse Linux Server 11 SP4.
My question is how to compress every file in a directory into its own tar... (5 Replies)
Discussion started by: Steven_2975
5 Replies
LEARN ABOUT REDHAT
perlbeos
PERLBEOS(1) Perl Programmers Reference Guide PERLBEOS(1)
NAME
README.beos - Perl version 5 on BeOS
DESCRIPTION
Notes for building Perl under BeOS.
General Issues with Perl on BeOS
To compile perl under BeOS R4 x86:
./Configure -d
and hit ^C when it asks you if you want to make changes to config.sh; edit config.sh and do the following: change d_socket='define' to
='undef'; remove SDBM, Errno, and Socket from dynamic_ext= and nonxs_ext=; add '#define bool short' to x2p/a2p.h;
../Configure -S; make; make install
cd ~/config/lib; ln -s 5.00502/BeOS-BePC/CORE/libperl.so .
(substitute 5.00502 with the appropriate filename)
BeOS Release-specific Notes
R4 x86
Dynamic loading finally works! Yay! This means you can compile your own modules into perl. However, Sockets and Errno still don't work.
(Hopefully, sockets will at least work by R5, if not sooner.)
R4 PPC
I have not tested this. I rather severely doubt that dynamic loading will work. (My BeBox is in pieces right now, following a nasty
disk crash.) You may have to disable dynamic loading to get the thing to compile at all. (use `./Configure` without -d, and say 'no' to
'Build a shared libperl.so'.)
Contact Information
If you have comments, problem reports, or even patches or bugfixes (gasp!) please email me.
28 Jan 1999 Tom Spindler dogcow@isi.net
Update 2002-05-30
The following tests fail on 5.8.0 Perl in BeOS Personal 5.03:
t/op/lfs............................FAILED at test 17
t/op/magic..........................FAILED at test 24
ext/Fcntl/t/syslfs..................FAILED at test 17
ext/File/Glob/t/basic...............FAILED at test 3
ext/POSIX/t/sigaction...............FAILED at test 13
ext/POSIX/t/waitpid.................FAILED at test 1
The reasons for the failures are as follows:
o The t/op/lfs and ext/Fcntl/t/syslfs failures indicate that the LFS (large file support, files larger than 2 gigabytes) doesn't work
from Perl (BeFS itself is well capable of supporting large files). What fails is that trying to position the file pointer past 2 giga-
bytes doesn't work right, the position gets truncated to its lower 32 bits.
o The op/magic failures look like something funny going on with $0 and $^X that I can't now figure out: none of the generated pathnames
are wrong as such, they just seem to accumulate "./" prefixes and infixes in ways that define logic.
o The Glob/t/basic indicates a bug in the getpw*() functions: they do not always return the correct user db entries.
o The sigaction #13 means that signal mask doesn't get properly restored if sigaction returns early.
o The waitpid failure means that after there are no more child processes, waitpid is supposed to start returning -1 (and set errno to
ECHILD). In BeOS, it doesn't seem to.
Disclaimer: I just installed BeOS Personal Edition 5.0 and the Developer Tools, that is the whole extent of my BeOS expertise, so please
don't ask me for further help in BeOS Perl problems.
jhi@iki.fi
perl v5.8.0 2003-02-18 PERLBEOS(1)