Files
Marble-shell-theme/scripts/utils/copy_files.py
Vladyslav Hroshev 8cce85a437 GNOME dependable installation, structure and style improvements
Split utils in utils.py to a directory
Moved ./gnome-shell_css/ to ./gnome-shell/.css/
2024-09-30 00:14:09 +03:00

13 lines
382 B
Python

import os
def copy_files(source, destination):
"""
Copy files from the source to another directory
:param source: where files will be copied
:param destination: where files will be pasted
"""
destination = os.path.expanduser(destination) # expand ~ to /home/user
os.makedirs(destination, exist_ok=True)
os.system(f"cp -aT {source} {destination}")