Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我通常这样做:
tar czf $directory_path/file_${1}.tar.gz --directory=$specified_path/ *${1}.csv 。
如果我只想包含目录的某些文件,而不包含目录本身,该怎么办?
cd [dir]; tar cz ./* >x.tgz
或者
cd [dir]; tar cz file1 file2 >x.tgz
javascript函数中的内容和[数据]标签