summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index bf19183..1fc28bb 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -232,7 +232,7 @@ tracefile() {
mv "${TO}/${TRACEHIERARCHY}".new "${TO}/${TRACEHIERARCHY}"
cp "${TO}/${TRACEHIERARCHY}" "${TO}/${TRACEHIERARCHY}.mirror"
- (cd ${tracedir} && ls ) | grep -v '^_' > "${TO}/${TRACELIST}"
+ (cd ${tracedir} && ls -rt) | grep -v '^_' > "${TO}/${TRACELIST}"
fi
;;
*)