8 lines
339 B
Plaintext
8 lines
339 B
Plaintext
|
|
import shutil, os
|
||
|
|
src = "/opt/data/projects/gortium/compose/ai/compose_updated.txt"
|
||
|
|
dst = "/opt/data/projects/gortium/compose/ai/compose.yml"
|
||
|
|
print(f"Source exists: {os.path.exists(src)}, size: {os.path.getsize(src)}")
|
||
|
|
print(f"Dest exists: {os.path.exists(dst)}")
|
||
|
|
shutil.copy2(src, dst)
|
||
|
|
print(f"Copied, dest size: {os.path.getsize(dst)}")
|