Debian Codegraph @

docs/dev/logs/2013-09-05.test-cp

raw
1 Test copy copys symlinks - making real files would be better
2
3 Test how to use cp:
4
5 [12:54] bento:~% cd test
6 [12:54] bento:test% ln -s /etc/passwd
7 [12:54] bento:test% cd ..
8 [12:54] bento:~% cp -r test test2
9 [12:54] bento:~% ls -lh test2/
10 total 4.0K
11 lrwxrwxrwx 1 nico nico 11 Sep 5 12:54 passwd -> /etc/passwd
12 [12:54] bento:~% rm -rf test2/
13
14 --------------------------------------------------------------------------------
15 [12:54] bento:~% ls -lh test2/
16 total 4.0K
17 lrwxrwxrwx 1 nico nico 11 Sep 5 12:54 passwd -> /etc/passwd
18 [12:54] bento:~% rm -rf test2/
19 [12:54] bento:~% cp -r --dereference test test2
20 [12:56] bento:~% ls -l test2/
21 total 4
22 -rw------- 1 nico nico 960 Sep 5 12:56 passwd
23 [12:56] bento:~%
24
25 --------------------------------------------------------------------------------
26 [13:04] bento:cdist% git describe
27 2.3.2
28 [13:09] bento:cdist% vi MANIFEST.in
29 [13:09] bento:cdist% vi MANIFEST
30 [13:09] bento:cdist% vi setup.py
31 [13:09] bento:cdist% cat cdist/version.py
32 VERSION = "2.3.1-34-g7acf041"
33 [13:10] bento:cdist%
34