Created
January 22, 2010 17:40
-
-
Save jamesgolick/283960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@master2 ~]# ll foo/ | |
| total 0 | |
| [root@master2 ~]# ll bar/ | |
| total 12 | |
| -rw-r--r-- 1 root root 0 Jan 21 16:45 baz | |
| drwxr-xr-x 2 root root 4096 Jan 21 16:45 dirinbar | |
| [root@master2 ~]# cp -R bar/* foo/ | |
| [root@master2 ~]# ll foo/ | |
| total 12 | |
| -rw-r--r-- 1 root root 0 Jan 21 16:46 baz | |
| drwxr-xr-x 2 root root 4096 Jan 21 16:46 dirinbar | |
| [root@master2 ~]# cp -R bar/* foo/ | |
| cp: overwrite `foo/baz'? y | |
| [root@master2 ~]# ll foo/ | |
| total 12 | |
| -rw-r--r-- 1 root root 0 Jan 21 16:46 baz | |
| drwxr-xr-x 2 root root 4096 Jan 21 16:46 dirinbar | |
| [root@master2 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment