Skip to content

Commit 119e09b

Browse files
authored
Update and rename 'rsync'.md to bulk_copy.md
1 parent 560a55a commit 119e09b

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

'rsync'.md

-7
This file was deleted.

bulk_copy.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
**rsync** - Copy directory
2+
```sh
3+
rsync --ignore-existing --progress -rvh /source/path /dstination/path
4+
```
5+
- `-r` recursive
6+
- `-v` verbose
7+
- `-h` human unit
8+
9+
**dd** - Clone disk / partition
10+
```sh
11+
# get disks
12+
fdisk -l
13+
14+
# clone disk
15+
dd if=/dev/sdb of=/dev/sdc
16+
17+
# clone partition
18+
dd if=/dev/sdb1 of=/dev/sdc1
19+
```
20+
- `if=` source disk / partition
21+
- `of=` destination disk / partition

0 commit comments

Comments
 (0)