Open TawfikDaim opened 2 months ago
Copy files between ubuntu servers:
scp -r C:\Users\tawfi\Downloads\home-assistant-todoist-shopping-list-main\home-assistant-todoist-shopping-list-main\todoist_shopping_list\translations\ tawfik@10.195.1.51:/home/tawfik/Docker/homeassistant/config/custom_components/todoist_shopping_list
One specific file can be copied TO the container like:
docker cp foo.txt container_id:/foo.txt One specific file can be copied FROM the container like:
docker cp container_id:/foo.txt foo.txt For emphasis, container_id is a container ID, not an image ID. (Use docker ps to view listing which includes container_ids.)
Multiple files contained by the folder src can be copied into the target folder using:
docker cp src/. container_id:/target docker cp container_id:/src/. target