From 5d17730143e711d6874a447913b5ee3bbab51fb1 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Sat, 10 Dec 2016 11:03:19 +0100 Subject: [PATCH] added helpers scripts --- fix-perms | 4 ++++ sync_uploads | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 fix-perms create mode 100644 sync_uploads diff --git a/fix-perms b/fix-perms new file mode 100644 index 00000000..afa292df --- /dev/null +++ b/fix-perms @@ -0,0 +1,4 @@ +#! /bin/bash + +sudo chown -R $USER:http sites/all/modules/features/ +sudo chmod -R g+w sites/all/modules/features/ diff --git a/sync_uploads b/sync_uploads new file mode 100644 index 00000000..00fcaab3 --- /dev/null +++ b/sync_uploads @@ -0,0 +1,3 @@ +#! /bin/bash + +rsync -vru materio3:public_html/base_d7/sites/default/files/ ./sites/default/files/