summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-02-17 06:36:21 +0100
committerErich Eckner <git@eckner.net>2017-02-17 06:36:21 +0100
commitc416d58ce88214d11d349a734045cbe76d1071d9 (patch)
tree37a4b9fb814eed010ea68484dfd1bf29d465631c
parent4580e86e443ffe51e620d8bb91ac34fa68ea78dc (diff)
downloadsourceMirror-c416d58ce88214d11d349a734045cbe76d1071d9.tar.xz
ignore .rsync-filter and CACHEDIRTAG
-rw-r--r--mirror.php2
1 files changed, 1 insertions, 1 deletions
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");