From 367c8ed165aa94b5dd4a38bbfe153856a2364119 Mon Sep 17 00:00:00 2001 From: neingeist Date: Sun, 3 Mar 2019 13:19:16 +0100 Subject: [PATCH] cp-unseen: Ignore *.lock and stuff in .sync/ --- cp-unseen | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cp-unseen b/cp-unseen index 06210dc..1835af3 100755 --- a/cp-unseen +++ b/cp-unseen @@ -47,6 +47,9 @@ def main(): for f in filenames] for file1 in file_list: + if file1.endswith('.lock') or '.sync/' in file1: + continue + if file1 in seen: continue