add alternative to cp or mv a folder

This commit is contained in:
Steve Mao
2017-01-11 15:52:28 +11:00
committed by GitHub
parent 4290bd5758
commit b5c6a28519

View File

@@ -65,6 +65,8 @@ cp readme.txt readme.bak.txt
Copy `myMusic` folder to the `myMedia` folder
```
cp -a myMusic myMedia/
# or
cp -a myMusic/ myMedia/myMusic/
```
@@ -101,6 +103,8 @@ mv readme.txt README.md
**STOP DRAG AND DROP A FOLDER, OR CTRL + X, CTRL + V A FOLDER**
```
mv myMedia myMusic/
# or
mv myMedia/ myMusic/myMedia
```