On Tue, Apr 26, 2016 at 10:45:08AM -0700, John Jason Jordan wrote: > According to man cp -auf is what I should be using for what I want > the command to so, but apparently there is something that I am not > understanding.
I don't understand it either. I saw the same behavior in a quick experiment. Hopefully someone else on the list can enlighten us. This is a job for rsync, anyhow. The following command should do exactly what you want: rsync -avx /home/jjj/Mail/ /media/jjj/Data/Mail Don't remove the trailing slash on the source path. It tells rsync to copy the contents of /home/jjj/Mail to /media/jjj/Data/Mail/, as opposed to creating a new Mail dir under /media/jjj/Data/Mail/ (i.e., /media/jjj/Data/Mail/Mail). The rsync man page has more details under the "Usage" section. rsync has a dry run mode that will show you the changes it would normally perform without actually making any. Just add the "-n" option to the command line. -- Paul _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
