excalibr | angch: rsync ni, in any case, memang kena specify source-dir utk di backup ke? | 09:51 |
---|---|---|
angch | excalibr, ? | 09:51 |
angch | excalibr, yes..? | 09:51 |
excalibr | aku guna --include-from utk bagi dia baca pattern dari file..tapi rsync tak copy apa-apa kalau aku tak specify source-dir | 09:53 |
excalibr | persoalannya ialah..kenapa perlu specify sourcedir bila kita dah supply dia dgn pattern list | 09:53 |
angch | pattern list =filter | 09:54 |
angch | kena appy source against filter. | 09:54 |
angch | pattern list != senarai file untuk rsync | 09:54 |
angch | s/appy/apply/ | 09:54 |
excalibr | senarai file pun sama..aku guna --files-from= tapi kena specify src-dir juga | 09:55 |
* excalibr pening baca man rsync | 09:55 | |
angch | excalibr, sorry, can't help. /me man rsync juga | 09:57 |
excalibr | oh bila guna files-from, rsync nak anchor path files dlm list tu ke src-dir | 09:57 |
angch | better bagi contoh | 09:57 |
excalibr | ni contoh backup list | 09:59 |
excalibr | http://pastebin.com/raw.php?i=1rEBFGE2 | 09:59 |
angch | command line lah | 09:59 |
angch | "The filenames that are read from the FILE are all relative to the source dir -- any leading slashes are removed and no ".." references are allowed to go higher than the source dir. For example, take this command: | 10:01 |
angch | rsync -a --files-from=/tmp/foo /usr remote:/backup" | 10:01 |
angch | aka semua /etc/foo/bar akan jadi etc/foo/bar | 10:01 |
angch | dalam list u. | 10:01 |
angch | so kena specify source of "/" | 10:01 |
angch | aka rsync --files-from=your.txt / $dest | 10:01 |
excalibr | ah yes.. | 10:11 |
excalibr | option files-from ni hanya utk literal matching ke..bila backuplist ada wildcard, rsync terus halt | 10:17 |
excalibr | seems so.. "Using this option allows you to specify the exact list of files to transfer.." | 10:19 |
angch | relative links | 10:20 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!