hanny
02-28-2000, 02:26 PM
can any one tell me how to compress many files into one directory in linux
thanx in advance.
thanx in advance.
| //flex table opened by JP
Click to See Complete Forum and Search --> : compress files in linux hanny 02-28-2000, 02:26 PM can any one tell me how to compress many files into one directory in linux thanx in advance. scmgk 02-28-2000, 02:31 PM Have you tried "tar -cvf compressed_filename.tar /folder/to/compress" ? hanny 02-28-2000, 02:35 PM I have not tried the tar commannd .I don't know the usage of tar command.please guide me on this. bdog 02-28-2000, 06:26 PM Scmgk is right. If you have alot of files in /home/fred/junk you want to put into a tarball type tar -cvf junkcompressed.tar /home/fred/junk If you want to further compress the tarball change into the directory it is in and type compress junkcompressed.tar scmgk 02-29-2000, 04:13 AM And by the way, "tar -xf compressed_file.tar" or "tar -xvf compressed_file.tar" uncompresses a tar file. Type "man tar" for more info. SysOpt.com
Copyright Internet.com Inc. All Rights Reserved. |