Skip to content

Commit 90e4288

Browse files
committedJun 6, 2020
Backup
1 parent a1da745 commit 90e4288

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎Python Files/BackupHelper.py

+6
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ def __check(self, src, dst, copy, update):
4343
if item.startswith('~$'):
4444
print(f'在{src}中检测到临时文件:{item},已跳过')
4545
continue
46+
if item.endswith('.ini'):
47+
print(f'在{src}中检测到配置文件:{item},已跳过')
48+
continue
49+
if item.endswith('.lnk'):
50+
print(f'在{src}中检测到快捷方式:{item},已跳过')
51+
continue
4652
if os.path.isdir(src_item):
4753
if item in dst_list:
4854
self.__check(src_item, dst_item, copy, update)

0 commit comments

Comments
 (0)
Please sign in to comment.