Note that none of your shell variables from your login will be set when you run from cron.
On Thu, Nov 15, 2018, 7:53 AM Rich Shepard <[email protected] wrote: > I want to update ~/ on the new desktop with changes made in ~/ on the > old > desktop using rsync in a daily cron job. The old desktop has a directory > ~/data while the newdesktop has a /data partition separate from /home. > > There is an --exclude option to rsync and I'm not sure where it should > go > in the command line. Is this correct if run from my crontab? > > rsync salmo: --exclude=data . > > Would a separate rsync command be needed to copy changes from > salmo:data/ > to baetis:/data or could both be accomplished with the same command? > > TIA, > > Rich > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
