From c416d58ce88214d11d349a734045cbe76d1071d9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 17 Feb 2017 06:36:21 +0100 Subject: ignore .rsync-filter and CACHEDIRTAG --- mirror.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror.php b/mirror.php index f26f514..31811dc 100644 --- a/mirror.php +++ b/mirror.php @@ -35,7 +35,7 @@ $quelle = substr($quelle,1); if ($quelle == "") { - exec("find '".$datenWurzel."' -type f | sort",$dateien); + exec("find '".$datenWurzel."' -type f -not \( -name .rsync-filter -or -name CACHEDIR.TAG \) | sort",$dateien); foreach ($dateien as $datei) { $pfad = explode("/",substr($datei,strlen($datenWurzel))); array_walk($pfad,"myBaseDecode"); -- cgit v1.2.3-54-g00ecf