Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Saving to multiple folders

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
dave_try1st



Joined: Sun Apr 15, 2012 6:07 pm
Posts: 3
Location: Cambridge

PostPosted: Thu Apr 24, 2014 11:04 am    Post subject: Saving to multiple folders Reply with quote

I am hoping someone can point me in the right direction, I am using KeePassX in Mint Petra for all my passwords, so obviously the saved database is totally important. I save to a folder in my home directory, but would also like to sync to Dropbox and Spideroak.

Is it possible to do this automatically so I don't have to manually copy to the relevant folders at the risk of losing an important update.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Thu Apr 24, 2014 11:16 am    Post subject: Reply with quote

Create symlinks to the file in your Dropbox and Spideroak folders.

If all three folders are on the same filesystem, you could use hard links, which are somewhat safer as accidentally deleting the original will not affect the copies.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
dave_try1st



Joined: Sun Apr 15, 2012 6:07 pm
Posts: 3
Location: Cambridge

PostPosted: Thu Apr 24, 2014 12:00 pm    Post subject: Reply with quote

Thanks for that. So if I understand this, I cd to the Dropbox folder, and make a link ie. ln /keepass_dir/saved_file saved_file and then do the same in the Spideroak folder. Is that right?
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Thu Apr 24, 2014 3:40 pm    Post subject: Reply with quote

Exactly.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
dave_try1st



Joined: Sun Apr 15, 2012 6:07 pm
Posts: 3
Location: Cambridge

PostPosted: Thu Apr 24, 2014 4:59 pm    Post subject: Reply with quote

All sorted, as the Dropbox folder syncs automatically I saved the Keepassx db to there and put a hardlink in the Spideroak folder. Fantastic!

Thanks for the help Nelz, you're doing a brilliant job for us.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast