mirror of
https://github.com/YGGverse/flarumdown.git
synced 2026-03-31 16:55:29 +00:00
minor comment addition
This commit is contained in:
parent
6790294682
commit
bcc54bc90f
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ mkdir -p /var/www/flarum/public/flarumdown/dump/assets/files
|
|||
# collect FoF/upload files
|
||||
readonly RSYNC_FILTER_P="*-thumb.webp"
|
||||
readonly RSYNC_TARGET_D="/var/www/flarum/public/flarumdown/dump/assets"
|
||||
find "$RSYNC_TARGET_D" -name "$RSYNC_FILTER_P" -type f -delete # rsync has --filter
|
||||
find "$RSYNC_TARGET_D" -name "$RSYNC_FILTER_P" -type f -delete # rsync has --filter, cleanup
|
||||
/usr/bin/rsync -av --delete --filter="-p $RSYNC_FILTER_P" \
|
||||
/var/www/flarum/public/assets/files \
|
||||
$RSYNC_TARGET_D
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue