Skip to content

Commit cc07c4b

Browse files
author
Bruce Eckel
committed
OnJava
1 parent a8d9630 commit cc07c4b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tools/backup.bat

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import msvcrt
1111
verbose = True
1212

1313
root = Path('.').resolve().parent.parent
14-
boxdir = root / "Box Sync" / "Dreaming-in-Java-Backups"
15-
gdrive = root / "Google Drive" / "Dreaming-in-Java-Backups"
16-
idrive = root / "IDrive-Sync" / "Dreaming-in-Java-Backups"
14+
boxdir = root / "Box Sync" / "On-Java-Backups"
15+
gdrive = root / "Google Drive" / "On-Java-Backups"
16+
idrive = root / "IDrive-Sync" / "On-Java-Backups"
1717

1818
def cp(src, dest, display=True, shortForm=False):
1919
if type(src) is pathlib.WindowsPath:
@@ -29,7 +29,7 @@ def cp(src, dest, display=True, shortForm=False):
2929
shutil.copy(str(src), str(dest))
3030

3131
now = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M")
32-
zip_file_name = 'DreamingInJava-' + now + '.zip'
32+
zip_file_name = 'OnJava-' + now + '.zip'
3333
dest = boxdir / zip_file_name
3434
print(dest)
3535
tozip = ["Notes.txt", "backup.bat", "go.bat", "Checklist.txt"] + glob("*.py") + glob("*.docx") + glob("*.docm")
@@ -49,9 +49,9 @@ tools = ["Examples.py", "Validate.py", "AttachResults.py", "backup.bat", "go.bat
4949

5050
print("\nCopying tools to Github")
5151
for tool in tools:
52-
cp(tool, root / "Documents" / "GitHub" / "Dreaming-in-Java" / "tools", shortForm=True)
52+
cp(tool, root / "Documents" / "GitHub" / "On-Java" / "tools", shortForm=True)
5353

54-
cp("Checklist.txt", root / "Documents" / "GitHub" / "Dreaming-in-Java", shortForm=True)
54+
cp("Checklist.txt", root / "Documents" / "GitHub" / "On-Java", shortForm=True)
5555

5656

5757
# Touch this file to indicate most recent update time:

0 commit comments

Comments
 (0)