Monday, April 29, 2024
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 18242  / 2 Years ago, wed, april 27, 2022, 7:47:03

Is there any software to sync files-folders and software between two PCs? For example if I install program 'A' to my desktop I want to be installed to my laptop as well if I have synchronized these two. I want the same with my files and folders. If I change something to my desktop I want the changes to effect my laptop too(I exclude Ubuntu One as a solution).



Thanks for your time and patience!


More From » software-recommendation

 Answers
2

As Michael K pointed out the packages you can keep in sync by doing:



dpkg --get-selections > <file>


Copy the file from source machine to destination using your favorite method then



dpkg --set-selections < <file>
apt-get dselect-upgrade


This way all the packages that were installed on one machine will be installed on the other further the packages that were removed on the source machine will be removed from the destination, so doing that is extraordinarily dangerous especially when syncing desktop to laptop since laptop may require certain drivers that desktop in general will not.



In my experience deploying standardized systems I can tell you that once the base build is put in place the synchronization of the packages is a very very rare thing predicated as Michael pointed out on hardware being identical and most importantly purpose being identical as well.


[#41380] Thursday, April 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ndaavi

Total Points: 169
Total Questions: 116
Total Answers: 113

Location: Falkland Islands
Member since Wed, Dec 23, 2020
3 Years ago
ndaavi questions
Tue, Apr 18, 23, 02:18, 1 Year ago
Wed, Jul 7, 21, 21:29, 3 Years ago
Wed, Jun 8, 22, 20:15, 2 Years ago
Tue, Aug 23, 22, 11:51, 2 Years ago
;