Skip to content
Snippets Groups Projects

fuzip: Include only feedback attachments

Open jonahbeneb02 requested to merge upload-only-feedback into main
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -12,6 +12,8 @@ while [ $# -ne 1 ]; do
@@ -12,6 +12,8 @@ while [ $# -ne 1 ]; do
pattern=$2
pattern=$2
find "$dir" \
find "$dir" \
-name "$pattern" \
-name "$pattern" \
 
-path '*/Feedback Attachment(s)/*' \
 
-or -name "comments.txt" \
-print \
-print \
| zip -9 "$dir" -@
| zip -9 "$dir" -@
shift
shift
Loading