modules/utility/pyarchinit_backup_dir.py¶
Overview¶
This file contains 2 documented elements.
Functions¶
main()¶
No description available.
Creates a timestamped backup of the pyarchinit_US directory by copying it to a destination folder within /pyarchinit/backup/. The destination directory name is constructed using the current date and time formatted as pyarchinit_US_back_up_DD_MM_YYYY_HH_MM_SS. The copy operation is performed using shutil.copytree, which recursively duplicates the entire source directory tree.