How to keep your photos in sync with Flickr?
Solution 1
Have you tried Desktop Flickr Organizer (dfo)? It is available in the Software Centre or "upload photos to Flickr (postr)" package?
I don't use Flickr and have not tested them myself..so give us feedback whether either of them works.
OK, now comes the hacky solution. Haven't tested that either :)
Firstly you could look into flickrfs. As I understand it enables to create virtual drive through which you can upload/download your files between your Flickr account and Ubuntu.
To enable sync you could use additional application that would sync between your photos folder and that virtual drive. For an example, you could use rsync or Unison for that. If you go that route then remember to test the virtual drive before you set up the sync.
Might not work and probably painstaking to set up but hopefully works flawlessly ever after.
Solution 2
This python script: https://github.com/richq/folders2flickr/ is getting less and less hacky every day...
There has been active resurgence in development as it seemed to be the least "hacky" of the "hacky" options.
The developer is open to suggestions and contributions.
Solution 3
Try Conduit.
Conduit, a program for the Linux desktop, makes it simple to link your web data, desktop files, and other information all together, then synchronize them all with a single click.
What is Conduit?
Conduit is a synchronization application for GNOME. It allows you to synchronize your files, photos, emails, contacts, notes, calendar data and any other type of personal information and synchronize that data with another computer, an online service, or even another electronic device.
Conduit manages the synchronization and conversion of data into other formats. For example, Conduit allows you to :
- Synchronize your Tomboy notes with another computer
- Synchronize your your PIM data to your mobile phone, iPod, Nokia Internet tablet, or between computers
- Upload photos to Flickr, Picasa, SmugMug, ShutterFly and your iPod
Any combination you can imagine, Conduit will take care of the conversion and synchronization.
Conduit's interface is meant to make data-syncing simple, and, for the most part, it does. Simply drag and drop icons that represent your data in the "cloud" (Flickr photos, YouTube Videos, Box.net backups, etc.) or your actual, physical stuff (files, folders, iPods, data apps) into the "canvas," and start making connections. Add the "sources" of your data first, followed by all the points that will receive it. Right-click on any item in your chain to configure it, whether that means pointing to specific folders or logging into your Flickr, Box.net, or Facebook accounts from pop-up windows.
To install Conduit, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:conduit/ppa
sudo apt-get update
sudo apt-get install conduit
I installed Conduit on Ubuntu 13.04, and it works. I'm going to assumce that if it worked on 13.04, it will probably work on 12.10, and 12.04. Now I haven't tried it with flicker, since I don't have an account.
Source:Conduit
Related videos on Youtube
Grego
Updated on September 18, 2022Comments
-
Grego over 1 year
I have a pdb text file with about 200 000 rows. Every rows looks like this :
COMPND SOURCE HETATM 1 CT 100 1 -23.207 17.632 14.543 HETATM 2 CT 99 1 -22.069 18.353 15.280 HETATM 3 OH 101 1 -21.074 18.762 14.358 HETATM 4 F 103 1 -23.816 18.483 13.675 HETATM 5 F 103 1 -24.119 17.162 15.433 HETATM 6 F 103 1 -22.680 16.591 13.841 HETATM 7 HC 104 1 -21.623 17.681 16.014 HETATM 8 HC 104 1 -22.451 19.218 15.823 HETATM 9 HO 102 1 -21.040 18.108 13.673 HETATM 10 CT 100 2 -4.340 -29.478 45.144 HETATM 11 CT 99 2 -3.051 -29.846 44.395 HETATM 12 OH 101 2 -1.968 -29.072 44.880 HETATM 13 F 103 2 -4.217 -29.778 46.464 HETATM 14 F 103 2 -5.396 -30.156 44.621 HETATM 15 F 103 2 -4.551 -28.140 45.015 HETATM 16 HC 104 2 -3.178 -29.656 43.329 HETATM 17 HC 104 2 -2.829 -30.908 44.511 HETATM 18 HO 102 2 -2.315 -28.222 45.119 HETATM 19 CT 100 3 -49.455 -17.542 -31.718 HETATM 20 CT 99 3 -49.981 -18.984 -31.736 HETATM 21 OH 101 3 -48.905 -19.897 -31.607 HETATM 22 F 103 3 -48.867 -17.273 -30.521 HETATM 23 F 103 3 -50.474 -16.668 -31.929 HETATM 24 F 103 3 -48.527 -17.405 -32.704 ...
I have to change all first CT for C1 and second CT for C2, and the same for F1, F2, F3 and HC to H1, H2.
Is it possible to change them with awk and sed in a small script? Each C1-C2 and F1,F2,F3 are part of the same molecule (trifluoroethanol - TFE) but there is many molecules of TFE to be defined.
So I want it to look like this :
COMPND SOURCE HETATM 1 C1 100 1 -23.207 17.632 14.543 HETATM 2 C2 99 1 -22.069 18.353 15.280 HETATM 3 OH 101 1 -21.074 18.762 14.358 HETATM 4 F1 103 1 -23.816 18.483 13.675 HETATM 5 F2 103 1 -24.119 17.162 15.433 HETATM 6 F3 103 1 -22.680 16.591 13.841 HETATM 7 H1 104 1 -21.623 17.681 16.014 HETATM 8 H2 104 1 -22.451 19.218 15.823 HETATM 9 HO 102 1 -21.040 18.108 13.673 HETATM 10 C1 100 2 -4.340 -29.478 45.144 HETATM 11 C2 99 2 -3.051 -29.846 44.395 HETATM 12 OH 101 2 -1.968 -29.072 44.880 HETATM 13 F1 103 2 -4.217 -29.778 46.464 HETATM 14 F2 103 2 -5.396 -30.156 44.621 HETATM 15 F3 103 2 -4.551 -28.140 45.015 HETATM 16 H1 104 2 -3.178 -29.656 43.329 HETATM 17 H2 104 2 -2.829 -30.908 44.511 HETATM 18 HO 102 2 -2.315 -28.222 45.119 HETATM 19 C1 100 3 -49.455 -17.542 -31.718 HETATM 20 C2 99 3 -49.981 -18.984 -31.736 HETATM 21 OH 101 3 -48.905 -19.897 -31.607 HETATM 22 F1 103 3 -48.867 -17.273 -30.521 HETATM 23 F2 103 3 -50.474 -16.668 -31.929 HETATM 24 F3 103 3 -48.527 -17.405 -32.704 ...
Thanks
-
Admin almost 11 yearsHave a look at dfo.
sudo apt-get install dfo
. -
Admin almost 11 yearsOK, I'm gonna need some handholding here. How do I sync a directory?
-
Admin almost 11 yearsUnfortunately I don't have a flickr account so I can't help you :/ I might be able to find someone else who does have a flickr account though.
-
Admin almost 11 yearson my opinion dfo is just on a half way. I did try it on Xubuntu, and nothing than errors and exceptions come out of this.
-
Admin almost 11 yearsDesktop flickr organizer seems buggy for me. This is something that's on the shotwell wishlist (redmine.yorba.org/projects/shotwell/wiki/…) but the nearest bug report is this redmine.yorba.org/issues/2797 , would that be sufficient in the short term?
-
Admin almost 11 yearsYou can sync your pics folder to dropbox & then sync dropbox-to-flickr using wappwolf-dropbox-automator. Cons: its a
one-way
sync & dropbox offers only 5 GB free (it can be extended to 16 GB).
-
-
Damn Terminal almost 11 yearsI have tried DFO, Frogr, and Shotwell. I haven't seen a sync option in either of those. Doesn't mean it isn't there, I could've missed it, but at the very least it wasn't obvious.
-
Khurshid Alam almost 11 yearsConduit is not available for > karmic(9.10) from that ppa. This project seems to be abandoned long ago. Synchronization doesn't work (or works very poorly) because Flickr recenetly changes its api.
-
Mitch almost 11 yearsThere is no mention on 9.10 in the question. I install it on 13.04, and it works. See additions in the answer above.
-
Mitch almost 11 yearsWould let me know if this worked for, just so I'd know. Thanks
-
Jonathan Leffler about 9 yearsAll the echo commands should use
echo "$line"
to preserve spaces (the first doesn't matter too much; the other two probably do matter). It seems a trifle clumsy to be at least one command per line of input when it can be done with a single command for the entire process. -
lxe about 9 yearsThe spaces are fine here. I'm just echoing stuff, not storing it to variables or iterating on anything.
-
Grego about 9 yearsThanks but there is still a problem remaining. It stops at the 9999 row. Is there something to do?
-
Grego about 9 years
HETATM 9999 HO 102 1111 -24.504 -16.257 -35.613 HETATM10000 CT 100 1112 9.045 23.978 29.038 HETATM10001 CT 99 1112 10.488 24.501 29.083 HETATM10002 OH 101 1112 11.370 23.545 28.522 HETATM10003 F 103 1112 8.650 23.804 27.749 HETATM10004 F 103 1112 8.209 24.855 29.654 HETATM10005 F 103 1112 8.996 22.779 29.679
-
Grego about 9 yearsI found my problem!
NF < 3 { print; next } $2 != "CT" && $2 != "F" && $2 != "HC" { print; next } { if (old_col2 != $2) { counter = 0 } old_col2 = $2 $2 = substr($2, 1, 1) ++counter printf("%s %3s %4s %5s %11s %7s %7s \n", $1, $2, $3, $4, $5, $6, $7); }
-
Jonathan Leffler about 9 yearsThis illustrates that it is hard to code reliably when you don't have all the information needed. It wasn't clear from the sample data that you'd 'lose' a field when the second column reached 10,000. Many formats preserve white-space separated columns. This one doesn't. I wonder what happens if you ever get to a million rows in the file? However, adaptive code is probably best here;
if (NF == 8) { …do it the 8-column way… } else { …do it the 7-column way… }
. One gotcha to watch for is if column 9999 and 10,000 are both 'F' columns: then the old column has to be recognized properly. -
tripleee about 9 yearsThough the whole
if echo | grep -q
could be better expressed with acase
statement. -
Flimm over 8 yearsThis only allows uploads it seems, not downloads.