由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - 问:direct files to trash but list file names
相关主题
一个很丢人的问题新手问个基础问题
[转载] How to burn .cpio file to CD?how to contral tar-ed file size?
gunzip fileName.ps.gzHOw to find files hardlinked to a same inode?
how to handle *.pkg files?[转载] where is the 'iostream' file ?
what is the command to gunzip/tar a .tar.gz filean AWK question?
如何解压*.tar.bz2文件?请教!how to extract data every 20 lines.
how to get part of a big text file?is it possible to untar files with absolute path?
interesting problemHow to use files with names like "-123.txt"?
相关话题的讨论汇总
话题: trash话题: files话题: gunzip话题: names话题: tar
进入Unix版参与讨论
1 (共1页)
l**********n
发帖数: 5272
1
我有一个巨大的压缩文件,a zipped folder, 我的磁盘空间不够容纳全部解压后的文
件,而我只想得到其中所有的文件列表。我的方法就是 gunzip bigfolder.tar.gz 然
后extract, 然后 ls -R 但这样必须要有足够的空间。能否直接把解压的内容倒入到
trash 同时得到 ls -R ?
或者不必解压,直接得到 ls -R ?
谢谢指教。
c*****t
发帖数: 1879
2
Use a version of tar that supports gunzip directly using
tar tvzf filename
which lists all the files in the tar without doing gunzip first.

【在 l**********n 的大作中提到】
: 我有一个巨大的压缩文件,a zipped folder, 我的磁盘空间不够容纳全部解压后的文
: 件,而我只想得到其中所有的文件列表。我的方法就是 gunzip bigfolder.tar.gz 然
: 后extract, 然后 ls -R 但这样必须要有足够的空间。能否直接把解压的内容倒入到
: trash 同时得到 ls -R ?
: 或者不必解压,直接得到 ls -R ?
: 谢谢指教。

l**********n
发帖数: 5272
3
那我关心的是tar tvzf filename 是只给出内容清单而不解开/恢复archived file ?
要是这样,正是我所要的。
谢谢!
c*****t
发帖数: 1879
4
是这样的。



【在 l**********n 的大作中提到】
: 那我关心的是tar tvzf filename 是只给出内容清单而不解开/恢复archived file ?
: 要是这样,正是我所要的。
: 谢谢!

1 (共1页)
进入Unix版参与讨论
相关主题
How to use files with names like "-123.txt"?what is the command to gunzip/tar a .tar.gz file
Is there any software can D/L a whole directory?如何解压*.tar.bz2文件?请教!
how to remove a file with the name of -2 ?how to get part of a big text file?
my script Re: how would you do this?interesting problem
一个很丢人的问题新手问个基础问题
[转载] How to burn .cpio file to CD?how to contral tar-ed file size?
gunzip fileName.ps.gzHOw to find files hardlinked to a same inode?
how to handle *.pkg files?[转载] where is the 'iostream' file ?
相关话题的讨论汇总
话题: trash话题: files话题: gunzip话题: names话题: tar