Compare commits

..

1 Commits

Author SHA1 Message Date
coolneng f578383b63
Add search by extension capabilities to copy-files 2021-04-29 14:10:53 +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 -t "$output" find "$input" -type f -iregex '.*\.\(pdf\|doc\|docx\|xlsx\|accdb|\mdb\)' -print0 | xargs -0 cp "{}" "$output"