You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: puttylogs.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,6 @@
22
22
files1=files+"."+strftime("%Y-%m-%d")+".zip"# Create the Variable files1, this is the files in the directory, then we add a suffix with the date and the zip extension
23
23
os.chdir(logsdir) # Change directory to the logsdir
24
24
os.system(zip_program+" "+files1+" "+files) # Zip the logs into dated zip files for each server. - 1.1
25
-
shutil.move(files1, zipdir) # Move the zipped log files to the zipped_logs directort - 1.2
25
+
shutil.move(files1, zipdir) # Move the zipped log files to the zipped_logs directory - 1.2
0 commit comments