mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-22 20:54:19 +00:00
commit
5d5b83b7b8
1 changed files with 5 additions and 0 deletions
|
@ -3144,6 +3144,11 @@ rsync -av directory user@ip_address:/path/to/directory.bak
|
||||||
# skip files that are newer on receiver (i prefer this one!)
|
# skip files that are newer on receiver (i prefer this one!)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Create a temporary directory and `cd` into it
|
||||||
|
```bash
|
||||||
|
cd $(mktemp -d)
|
||||||
|
```
|
||||||
|
|
||||||
##### Make all directories at one time!
|
##### Make all directories at one time!
|
||||||
```bash
|
```bash
|
||||||
mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat}
|
mkdir -p project/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat}
|
||||||
|
|
Loading…
Reference in a new issue