tar
Destination directory while compressing using tar
I have a directory say \"DIR\" which contains so many directories say \"A\", \"B\" and \"C\" I want to tar DIR without including \"C\" in it so that DIR.tar开发者_如何学C.gz does not contain the dire[详细]
2023-01-27 13:34 分类:问答Help with FTP and then Tar in perl
I need to FTP to a server, tar all of the files in a directory, then FTP the tar to a different server.[详细]
2023-01-26 13:58 分类:问答How to untar all .tar.gz with shell-script?
I tried this: DIR=/path/tar/*.gz if [ \"$(ls -A $DIR 2> /dev/null)\" =开发者_如何学C= \"\" ]; then[详细]
2023-01-26 09:27 分类:问答All files of a dir in tar as file-like obj
there is a simple way to get all files inside a spe开发者_Python百科cifically dir (dir that is in a tar file) one after another as a same file-like object?[详细]
2023-01-26 07:17 分类:问答Using wget and cron to download webpages
Ok, so I know i can use: wget -r <web开发者_C百科site> > <file> to get a webpage and save it. My question is, how would i use cron and wget to get a webpage on an hourly, or even min[详细]
2023-01-25 09:53 分类:问答How can I check if a file exists in a tar archive with Python?
I would like to verify the existence of a given file in a tar archive with Python before I get it as a file-like object. I\'ve tried it with isreg(), but probably I do something wrong.[详细]
2023-01-25 06:07 分类:问答Error when using complex file names for tar -> write in perl
While using tar->write() I am getting errors while using complex file names. The code is: my $filename= $archive_type.\"_\".$from_date_time.\"_\".$to_date_time.\"tar\";[详细]
2023-01-24 04:18 分类:问答Prevent parent directories from being tarred
Basically I just want to tar all the files in a directory, but not get all the parent directories in the archive.[详细]
2023-01-21 23:46 分类:问答Unix script to find all folders in the directory, then tar and move them
开发者_运维百科Basically I need to run a Unix script to find all folders in the directory /fss/fin, if itexists; then I have tar it and move to another directory /fs/fi.[详细]
2023-01-20 17:54 分类:问答Remove file in a tar, with wildcard and exception
I have a tarball, and i want to remove all .tcl, .bat , .log files except pkgIndex.tcl in it. if i do[详细]
2023-01-20 09:03 分类:问答