forked from syno2flickr/syno2flickr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
111 lines (76 loc) · 3.4 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
README FILE
SYNO2FLICKR
Version: 0.2.1
Release date: June 2nd, 2014
Web site: https://github.com/syno2flickr/
Author: Jachen Brechbuehl
DESCRIPTION
Java command line tool called "Syno2Flickr" allowing to upload
your photos and videos to your flickr account. The process can
be run in interactive or background mode.
LICENCE
Syno2flickr is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.1
CHANGELOG
0.2.1
- HTTPS support
0.2.0
- Sets and collections can be auto generated
- Default license
- Override config properties via command-line arguments
- Minor modifications & bugs
0.1.2
- Fix HTTP error 411
FEATURES
- Upload photo/video to a flickr account
- Set default privacy
- Set default album
- Show account info (usage & limitations)
- Show an upload progress bars
- Create sets and collections based on folder name (new)
- Set default license (new)
- Override config properties via command-line arguments (new)
INSTALLATION
1. You must have a Java Virtual Machine installed (1.5 and above).
2. Download the lastest binary version here:
https://github.com/syno2flickr/syno2flickr/wiki
3. In the zip, 6 files:
- syno2flickr-X.Y.Z.jar -> the tool bin
- syno2flickr_syno.properties -> conf. for synology products
- syno2flickr_windows.properties -> conf. for Windows
- syno2flickr_unix.properties -> conf. for Unix
- README.txt -> README file
- Licence-gpl3.0.txt -> GPL 3.0 Licence
4. You have to get an application key and a secret key.
(http://www.flickr.com/services/apps/create/apply/)
5. Edit the syno2flickr.properties config file and add
the application key (apiKey param) and the secret key
(sharedSecret param).
6. Set the folder to sync with Flickr (syncFolder param)
7. Set the folder to archive photos/videos successfully uploaded
(archiveFolder param).
8. Eventually change the another params if needed
RUN syno2Flickr
Note: the first run must be in interactive mode because you need to
register this app with your flickr account.
Run in interactive mode:
#> java -jar syno2flickr.jar syno2flickr.properties
Run in background mode for unix (need nohup installed):
#> nohup java -jar syno2flickr.jar syno2flickr.properties >syno2flickr.log 2>&1 &
ADVANCED FEATURES
To override a config property via command-line, use this syntax:
#> java -jar syno2flickr.jar syno2flickr.properties <propertyName>=<value>
Exemple:
#> java -jar syno2flickr.jar syno2flickr.properties defaultPrivacy=1 "syncFolder=C:\\My photos"
TROUBLESHOOTING
#1 "Error: Invalid or corrupt jarfile syno2flickr.properties":
=> add "-Dfile.encoding=UTF8" parameter for java command like this:
#> java -Dfile.encoding=UTF8 -jar syno2flickr.jar syno2flickr.properties