From 080007d49faf9f6a1ef3dc7bf65a53bf689a5309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20V=C3=A1squez=20P=C3=A9rez?= Date: Thu, 13 Dec 2018 10:16:24 -0800 Subject: [PATCH] Added script for mirroring an entire folderstructure with empty files. --- bash/ghostmirror.sh | 1 + 1 file changed, 1 insertion(+) create mode 100755 bash/ghostmirror.sh diff --git a/bash/ghostmirror.sh b/bash/ghostmirror.sh new file mode 100755 index 0000000..c7bc168 --- /dev/null +++ b/bash/ghostmirror.sh @@ -0,0 +1 @@ +find $1/ -type d -exec mkdir -p $2/{} \; -o -type f -exec touch $2/{} \;;