commit 1c98ebc64570bc91dbc313e7ce61b935dc090987 parent e6f0b9dd1267b33a3f9946bc0fb3f6bd2a87fd2c Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com> Date: Sat, 12 Nov 2016 19:15:49 -0500 Sync images not just html in public_html/ Diffstat:
M | functions/move-html-to-publichtml | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/functions/move-html-to-publichtml b/functions/move-html-to-publichtml @@ -4,5 +4,9 @@ move_html_to_publichtml () { echo "- Rsync all HTML files and folders to the public_html/ folder" - rsync -avmh --include='*.html' -f 'hide,! */' "$CONTENT_PATH/" "$PUBLICHTML_PATH/" + rsync -avmh \ + --include='*.html' \ + --include='*.png' \ + --include='*.jpg' \ + -f 'hide,! */' "$CONTENT_PATH/" "$PUBLICHTML_PATH/" }