[Tar][find] Find specific file and tar all of the file
find *.jpg & *.txt
# find . -regex ".*\.jpg\|.*\.txt"
find *.jpg & *.txt and tar all of it
# find. -regex ".*\.jpg\|.*\.txt" | xargs tar -rvf test.tgz
Reference :
[Tar][find] Find specific file and tar all of the file
find *.jpg & *.txt
# find . -regex ".*\.jpg\|.*\.txt"
find *.jpg & *.txt and tar all of it
# find. -regex ".*\.jpg\|.*\.txt" | xargs tar -rvf test.tgz
Reference :
0 意見:
張貼留言