Compare commits

..

1 Commits

Author SHA1 Message Date
coolneng bd880608c5
Add search by extension capabilities to copy-files 2021-04-29 14:19:19 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -14,4 +14,4 @@ fi
input=$1 input=$1
output=$2 output=$2
find "$input" -type f -iregex '.*\.\(pdf\|doc\|docx\|xlsx\|accdb|\mdb\)' -print0 | xargs -0 cp "{}" "$output" find "$input" -type f -iregex '.*\.\(pdf\|doc\|docx\|xlsx\|accdb|\mdb\)' -print0 | xargs -0 cp -t "$output"