tar
How do I create a tar archive that will not expand to a subfolder?
I don\'t want to create a \"flat\" tarball that has no internal directory structure. But I want the top-level files to be \"loose\" rather than mirroring the directory structure they were on originall[详细]
2023-04-13 05:33 分类:问答split file to specific sizes with tar command
There is an iso file with 5.5 GB in size. I want to split that with tar command each part should be 500M. What is the comm开发者_如何转开发and for that?It\'s not the job of tar to split files. Use spl[详细]
2023-04-10 19:05 分类:问答Extract a .tgz into specific subfolder only if there are files in the tar that would extract to my CWD
Most tar files extract into their own subfolder (because the people that write open source utilities are amazing people).[详细]
2023-04-10 02:14 分类:问答tar/bzip files without including the folder structure
sample setup: folder structure /folder1/folder2/folder3 folder3 has 2 files: sample.backups.tar sample My objective to run a script that bzips sample and appends it to sample.backups.tar, remov[详细]
2023-04-09 10:32 分类:问答tar exclude file pattern
I am trying to create a tar with follwing command: tar -cv开发者_运维问答f myFile.tar -X exclude-files.txt myContentDirectory[详细]
2023-04-06 06:39 分类:问答How to get the name of a TAR in a GZIP as well as the number of TARs
I was wondering if there is any Java API to get the name of the TAR file in a GZIP file as well as the number of TAR files in it. (Not sure if multiple TARs are a开发者_开发百科llowed in a GZIP)[详细]
2023-04-05 18:41 分类:问答Determine whether any files have been added, removed, or modified in a directory
I\'m trying to write a Python script that will get the md5sum of all files in a directory (in Linux).Which I believe I have done in the code belo开发者_C百科w.[详细]
2023-04-02 17:04 分类:问答Use python tarfile add without normpath being applied to arcname
I\'m using python\'s tarfile library to create a gzipped tar file. The tar file needs to have absolute pathnames for reasons that I\'ve got no control over. (I\'m aware that this isn\'t normal practi[详细]
2023-04-02 06:46 分类:问答Extract files to same folder as archive using recursive to search all directories
I\'m working on an automation task in PowerShell that extracts the contents of several .tar archives to their respective subfolders using recursion and the 7z.exe utility.[详细]
2023-04-01 20:39 分类:问答ant tar task: way to enable "tar append"?
Goal: use ant to create a single tar archive for any combination of (say) 5 folders (all folders, or any 3 folders[详细]
2023-04-01 14:41 分类:问答