diff --git a/py/更新文件名.py b/py/更新文件名.py index ff5d5f2..9c65120 100644 --- a/py/更新文件名.py +++ b/py/更新文件名.py @@ -15,7 +15,7 @@ def rename_files(): # 获取当前日期时间 now = datetime.datetime.now() - current_date = now.strftime("%m%d%H%M") + current_date = now.strftime("%m%d") # 获取当前目录下的所有文件 all_files = os.listdir(os.getcwd())