From c11be1ad1a69b3dc8f43176c96f529e09d065319 Mon Sep 17 00:00:00 2001 From: digimer Date: Wed, 19 Apr 2023 12:36:05 -0400 Subject: [PATCH] Added a skip to ignore dot files when looking at new files. Signed-off-by: digimer --- tools/anvil-manage-files | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/anvil-manage-files b/tools/anvil-manage-files index f98fd8ea..81cf7d69 100755 --- a/tools/anvil-manage-files +++ b/tools/anvil-manage-files @@ -554,6 +554,9 @@ sub check_incoming full_path => $full_path, }}); + # Skip dot-files, they're usually files being uploaded. + next if $file_name =~ /^\./; + # Do I know about this file? If so, is the file the same size? If either is no, calculate the md5sum. my ($file_uuid, $recorded_size, $recorded_mtime, $recorded_md5sum) = get_file_db_info($anvil, "", $file_name); $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => {