Answers for "ubuntu tar all .log and .txt"

0

ubuntu tar all .log and .txt

find . -regextype posix-extended -iregex '.*\.(log|txt)' -print0 | xargs -0 tar zcf $file
Posted by: Guest on March-11-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language