שלום,
ברשותי ארץ' עדכני.
אני רוצה לגבות קבצי תמונות שצולמו מתאריך מסוים ואילך באמצעות rsync.
לשם כך תחילה השתמשתי ב find למציאת הקבצים שעונים לתנאי, ואז, לאחר שאני מוודא שאני במחיצה המתאימה, אני מנסה להריץ את rsync- אלא שה לא רץ משום מה.
רצ"ב הפלטים הרלוונטיים- אשמח לעזרה.
תודה מראש מייקי
מבנה המחיצות הרלוונטיות ופקודת ה rsync
קוד: |
$ pwd
/run/media/miki2/Photos/Photos/2016
[miki2@Miki_Desk 2016]$ cd ..
[miki2@Miki_Desk Photos]$ rsync --files-from=/home/miki2/newfiles.txt -av /run/media/miki2/Photos/TMP/
rsync version 3.1.2 protocol version 31
Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
rsync is a file transfer program capable of efficient remote update
via a fast differencing algorithm.
|
--------------------------------------------------
מבנה המחיצות תחת Photos
קוד: |
2016
│ ├── 2016-01-05_Sunsets
│ ├── 2016-01-11_Sunset
│ ├── 2016-01-21
│ ├── 2016-01-22
│ ├── 2016-01-23
│ ├── 2016-01-28_Family_Acre
│ ├── 2016-01-30_Ziv
│ ├── 2016-01-31
|
---------------------
---ולבסוף רשימת קבצי התמונות לגיבוי----------------------------
קוד: |
$ cd ~
[miki2@Miki_Desk ~]$ cat newfiles.txt |more
./2016/2016-02-12_Jeen_R/Jeen-0774-20160212.jpg
./2016/2016-02-12_Jeen_R/Jeen-0900-20160212.jpg
./2016/2016-02-12_Jeen_R/Jeen-0950-20160212.jpg
./2016/2016-02-12_Jeen_R/Jeen-0964-20160212.jpg
./2016/2016-02-12_Jeen_R/Jeen-1030-20160212.jpg
./2016/2016-02-12_Jeen_R/Jeen-1084-20160212.jpg
..
|