#define MAXDEPTH 1024
#define CSUMXL 32
-static int quiet=0, hidectime=0, hideatime=0;
+static int quiet=0, hidectime=0, hideatime=0, hidemtime=0;
static int hidedirsize=0, hidelinkmtime=0, onefilesystem=0;
static int filenamefieldsep=' ';
static FILE *errfile;
pu10();
}
- if (stab)
- if (S_ISLNK(stab->st_mode) && hidelinkmtime)
- printf(" %10s","link");
+ if (!hidemtime) {
+ if (stab)
+ if (S_ISLNK(stab->st_mode) && hidelinkmtime)
+ printf(" %10s","link");
+ else
+ printf(" %10lu",
+ (unsigned long)stab->st_mtime);
else
- printf(" %10lu",
- (unsigned long)stab->st_mtime);
- else
- pu10();
+ pu10();
+ }
if (!hidectime) {
if (stab)
case 'A':
hideatime= 1;
break;
+ case 'M':
+ hidemtime= 1;
+ break;
case 'f':
errfile= stdout;
break;
+chiark-utils (4.1.17) unstable; urgency=low
+
+ * summer has new -M (do not print mtimes) option.
+
+ -- Ian Jackson <ian@davenant.greenend.org.uk> Wed, 23 May 2007 18:56:53 +0100
+
chiark-utils (4.1.16) unstable; urgency=low
* chiark-backup's snaprsync has new rsynccompress option.