Skip to content

Commit 23f4af6

Browse files
committed
Add rsync explanation
1 parent 82bc917 commit 23f4af6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def sync_website_content(
215215
date_time = datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
216216
branch_name = f"content-sync-{date_time}"
217217

218+
# rsync /var/www/ /home/var - copies the contents of /var/www/ but not the www folder itself.
219+
# rsync /var/www /home/var - copies the folder www along with all its contents.
218220
src = str(src_path) + src_end
219221
dest = str(trans_path) + trans_end
220222

0 commit comments

Comments
 (0)