mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-23 01:02:51 +00:00
Update cheatsheets
This commit is contained in:
4
tldr/mv
4
tldr/mv
@@ -36,6 +36,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`mv --verbose {{path/to/source}} {{path/to/target}}`
|
||||
|
||||
- Specify target directory (convenient in situations when the target directory has to be the first argument):
|
||||
- Specify [t]arget directory so that you can use external tools to gather movable files:
|
||||
|
||||
`ls | {{parallel|xargs}} mv -t {{path/to/target_directory}}`
|
||||
`{{find /var/log -type f -name '*.log' -print0}} | {{xargs -0}} mv --target-directory {{path/to/target_directory}}`
|
||||
|
||||
Reference in New Issue
Block a user