Skip to content

Commit

Permalink
Merge pull request tldr-pages#41 from kud/formula.cp
Browse files Browse the repository at this point in the history
Add cp.
  • Loading branch information
rprieto committed Jan 30, 2014
2 parents ab015d7 + 281c509 commit 0ed0fe7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
19 changes: 19 additions & 0 deletions pages/common/cp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# cp

> Copy files
- Copy files in arbitrary locations

`cp {{/path/to/original}} {{/path/to/copy}}`

- Copy a file to a parent directory

`cp {{/path/to/original}} ../{{/path/to/copy}}`

- Copy directories recursive using the option -r.

`cp -r {{/path/to/original}} {{/path/to/copy}}`

- Copy files in verbose mode, showing files as they are copied. (Mostly interesting with -r option).

`cp -vr {{/path/to/original}} {{/path/to/copy}}`
11 changes: 0 additions & 11 deletions pages/osx/cp.md

This file was deleted.

0 comments on commit 0ed0fe7

Please sign in to comment.