tar
Bash tar append file
How to append file to tar, e.g. file located in /usr/file.txt? I want to append it in tar to var/file.txt for future extract it into [tar location]/var/file.txt instead of [tar location]/usr/file.txt[详细]
2023-02-26 01:58 分类:问答Read and write tbz file in PHP
Hi I want to download a file that is in tbz format. So I first need to download tbz file so I am first reading it and writing to local directory on my server using the following code:[详细]
2023-02-22 15:24 分类:问答pack files on windows and preserve folder timestamps
I want to put a big folder on Windows b开发者_StackOverflow中文版ox into one archive (tar, zip, gzip, whatever). Is there a tool that can preserver all folder timestamps?[详细]
2023-02-19 05:42 分类:问答How to list the contents of a compressed tar file in Java
How do I list the contents of a compressed tar file in Java without extracting the files? I have looked at apache ant api, and I can see how to extract files, but I cannot work out how to just list th[详细]
2023-02-16 21:40 分类:问答Does Python's `tarfile` module store the archives it's building in memory?
I\'m working in 开发者_高级运维a memory constrained environment where I need to make archives of SQL dumps. If I use python\'s built in tarfile module is the \'.tar\' file held in memory or written to[详细]
2023-02-15 21:53 分类:问答Java, Archives, Linux & Cyrillic
I try to write an archiver in java, that creates TAR or ZIP archives, with correctly cyri开发者_C百科llic file names, then it opened in linux.[详细]
2023-02-15 12:07 分类:问答How to compress a symbolic link?
With tar, I tried to compress a repository in a chroot environment with ssh, but it failed as it just compressed the symbolic link itself.[详细]
2023-02-12 07:13 分类:问答Preventing harmful gzip files from being extracted
The directory of which users have their backups for their files is located in a directory which they can access and upload to.[详细]
2023-02-10 19:23 分类:问答How to I compress a tarball with gzip?
Hey, I was wondering if anyone knew how I could compress a tarball file with gzip. I checked out this already and compressed a tarball successfully, 开发者_开发技巧although I want to then compress tha[详细]
2023-02-10 12:14 分类:问答How do I get the effect of GNU tar's --strip-components with git-archive?
In broad terms, what I\'d like is a direct tar-to-tar transformation where the result\'s root contains only a particular directory-subtree of the original.[详细]
2023-02-08 17:17 分类:问答