@@ -28,25 +28,25 @@ const copyHelp = `Copy files between host and guest
28
28
Prefix guest filenames with the instance name and a colon.
29
29
30
30
Backends:
31
- auto - Automatically selects the best available backend (rsync preferred, falls back to scp)
32
- rsync - Uses rsync for faster transfers with resume capability (requires rsync on both host and guest)
33
- scp - Uses scp for reliable transfers (always available)
31
+ - **auto**: Automatically selects the best available backend (rsync preferred, falls back to scp)
32
+ - **rsync**: Uses rsync for faster transfers with resume capability (requires rsync on both host and guest)
33
+ - **scp**: Uses scp for reliable transfers (always available)
34
34
35
35
Examples:
36
- # Copy file from guest to host (auto backend)
37
- limactl copy default:/etc/os-release .
36
+ #### Copy file from guest to host (auto backend)
37
+ limactl copy default:/etc/os-release .
38
38
39
- # Copy file from host to guest with verbose output
40
- limactl copy -v myfile.txt default:/tmp/
39
+ #### Copy file from host to guest with verbose output
40
+ limactl copy -v myfile.txt default:/tmp/
41
41
42
- # Copy directory recursively using rsync backend
43
- limactl copy --backend=rsync -r ./mydir default:/tmp/
42
+ #### Copy directory recursively using rsync backend
43
+ limactl copy --backend=rsync -r ./mydir default:/tmp/
44
44
45
- # Copy using scp backend specifically
46
- limactl copy --backend=scp default:/var/log/app.log ./logs/
45
+ #### Copy using scp backend specifically
46
+ limactl copy --backend=scp default:/var/log/app.log ./logs/
47
47
48
- # Copy multiple files
49
- limactl copy file1.txt file2.txt default:/tmp/
48
+ #### Copy multiple files
49
+ limactl copy file1.txt file2.txt default:/tmp/
50
50
51
51
Not to be confused with 'limactl clone'.
52
52
`
0 commit comments