From 58070e2e9518f02111a6d4ee9f329c89d347c73b Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 24 Jan 2006 17:00:19 +0000 Subject: [PATCH] Changed the short option from -A to -k (since acls.diff uses -A). --- atimes.diff | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/atimes.diff b/atimes.diff index 4dad92d..30037f2 100644 --- a/atimes.diff +++ b/atimes.diff @@ -234,7 +234,7 @@ command before "make": - rprintf(F," -O, --omit-dir-times omit directories when preserving times\n"); + rprintf(F," -t, --times preserve modify times\n"); + rprintf(F," -O, --omit-dir-times omit directories when preserving modify times\n"); -+ rprintf(F," -A, --atimes preserve access times\n"); ++ rprintf(F," -k, --atimes preserve (keep) access times\n"); rprintf(F," --chmod=CHMOD change destination permissions\n"); rprintf(F," -S, --sparse handle sparse files efficiently\n"); rprintf(F," -n, --dry-run show what would have been transferred\n"); @@ -242,9 +242,9 @@ command before "make": {"times", 't', POPT_ARG_VAL, &preserve_times, 1, 0, 0 }, {"no-times", 0, POPT_ARG_VAL, &preserve_times, 0, 0, 0 }, {"no-t", 0, POPT_ARG_VAL, &preserve_times, 0, 0, 0 }, -+ {"atimes", 'A', POPT_ARG_VAL, &preserve_atimes, 1, 0, 0 }, ++ {"atimes", 'k', POPT_ARG_VAL, &preserve_atimes, 1, 0, 0 }, + {"no-atimes", 0, POPT_ARG_VAL, &preserve_atimes, 0, 0, 0 }, -+ {"no-A", 0, POPT_ARG_VAL, &preserve_atimes, 0, 0, 0 }, ++ {"no-k", 0, POPT_ARG_VAL, &preserve_atimes, 0, 0, 0 }, {"omit-dir-times", 'O', POPT_ARG_VAL, &omit_dir_times, 2, 0, 0 }, {"modify-window", 0, POPT_ARG_INT, &modify_window, OPT_MODIFY_WINDOW, 0, 0 }, {"owner", 'o', POPT_ARG_VAL, &preserve_uid, 1, 0, 0 }, @@ -253,7 +253,7 @@ command before "make": if (preserve_times) argstr[x++] = 't'; + if (preserve_atimes) -+ argstr[x++] = 'A'; ++ argstr[x++] = 'k'; if (omit_dir_times == 2 && am_sender) argstr[x++] = 'O'; if (preserve_perms) @@ -353,7 +353,7 @@ command before "make": - -O, --omit-dir-times omit directories when preserving times + -t, --times preserve modify times + -O, --omit-dir-times omit directories when preserving mod-times -+ -A, --atimes preserve access times ++ -k, --atimes preserve access times --chmod=CHMOD change destination permissions -S, --sparse handle sparse files efficiently -n, --dry-run show what would have been transferred @@ -361,8 +361,8 @@ command before "make": the directories on the receiving side, it is a good idea to use bf(-O). This option is inferred if you use bf(--backup) without bf(--backup-dir). -+dit(bf(-A, --atimes)) This tells rsync to set the access times of the -+destination files to the same value as the source files. Note that the ++dit(bf(-k, --atimes)) This tells rsync to keep the access times of the ++destination files the same value as the source files. Note that the +reading of the source file may update the atime of the source files, so +repeated rsync runs with --atimes may be needed if you want to force the +access-time values to be 100% identical on the two systems. -- 2.34.1