[PLUG] PLUG Digest, Vol 156, Issue 17

Tomas Kuchta tomas.kuchta.lists at gmail.com
Sun Sep 10 04:41:59 UTC 2017


I would avoid copying files and directories starting with . Unless I know
why I want the old file/directory. Example of what to copy over .Mozilla if
you want your old browser config or emails.... Would try to avoid
kde/gnome/config files and directories, unless I need some of them.

Tomas



On Sep 9, 2017 6:55 PM, "Denis Heidtmann" <denis.heidtmann at gmail.com> wrote:

> It occurs to me that the source being 14.04 and the target being 16.04 is
> likely a complications.  See
> http://eggsonbread.com/2010/01/28/move-ubuntu-to-another-
> computer-in-3-simple-steps/
>
> I could upgrade the old 14.04 to 16.04 first to comply with the linked
> instructions. (But note that those are from 2010.)  If I ignore this little
> complication I worry that things will break badly.  Matching the versions
> is not a huge pain.
>
> I do not see that cp requires special handling for . files.  True?
>
> On Sat, Sep 9, 2017 at 2:26 PM, Rich Shepard <rshepard at appl-ecosys.com>
> wrote:
>
> > On Sat, 9 Sep 2017, Denis Heidtmann wrote:
> >
> > > Would rsync make my first question moot?
> >
> > Denis.
> >
> >    Perhaps. Read the rsync man page to better understand it. Briefly,
> rsync
> > will compare the same file name on source and target and copy the former
> > version over the latter version if the source is newer. If there are
> files
> > on the source that are not on the target, rsync will copy the source to
> the
> > target so both directories have the latest version of all files.
> >
> >    Be aware, however, that specifying the source directory only regular
> > files
> > and subdirectories are examined and synchronized; e.g., if the source ~/
> is
> > the pwd, 'rsync * target/home/me/'; if the pwd is your target directory,
> > 'rsync source/home/me/ .'. To synchronize the dot files you need to
> specify
> > '.*' to indicate all dot files instead of '*' to specify all normal
> files.
> > I
> > got caught once by thinking that '*' copied dot files, too. It don't.
> >
> > Rich
> >
> > _______________________________________________
> > PLUG mailing list
> > PLUG at lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list