Displaying 20 results from an estimated 160 matches for "modtim".
Did you mean:
modtime
2004 Apr 10
0
patches for copying atimes
...oot/rsync/backup.c,v
retrieving revision 1.28
diff -u -w -r1.28 backup.c
--- backup.c 13 Mar 2004 20:18:03 -0000 1.28
+++ backup.c 10 Apr 2004 23:28:35 -0000
@@ -101,7 +101,7 @@
"make_bak_dir stat %s failed: %s\n",
full_fname(rel), strerror(errno));
} else {
- set_modtime(fullpath, st.st_mtime);
+ set_times(fullpath, st.st_mtime, time(NULL));
do_lchown(fullpath, st.st_uid, st.st_gid);
do_chmod(fullpath, st.st_mode);
}
Index: batch.c
===================================================================
RCS file: /cvsroot/rsync/batch.c,v
retrieving rev...
2004 Apr 20
1
improved atime patch
...oot/rsync/backup.c,v
retrieving revision 1.28
diff -u -w -r1.28 backup.c
--- backup.c 13 Mar 2004 20:18:03 -0000 1.28
+++ backup.c 20 Apr 2004 21:06:17 -0000
@@ -101,7 +101,7 @@
"make_bak_dir stat %s failed: %s\n",
full_fname(rel), strerror(errno));
} else {
- set_modtime(fullpath, st.st_mtime);
+ set_times(fullpath, st.st_mtime, time(NULL));
do_lchown(fullpath, st.st_uid, st.st_gid);
do_chmod(fullpath, st.st_mode);
}
Index: batch.c
===================================================================
RCS file: /cvsroot/rsync/batch.c,v
retrieving rev...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...--- backup.c Tue Apr 9 15:21:56 2002
***************
*** 110,116 ****
rprintf(FERROR,"make_bak_dir stat
%s : %s\n",fullpath,strerror(errno));
} else {
st2=&st;
!
set_modtime(fullpath,st2->st_mtime);
if(do_lchown(fullpath,st2->st_uid,st2->st_gid)!=0) {
rprintf(FERROR,"make_bak_dir chown %s : %s\n",fullpath,strerror(errno));
};
--- 110,117 ----
rprintf(FERROR,"...
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
...7 14:04:38.000000000 +0100
@@ -54,6 +54,7 @@
extern int implied_dirs;
extern int copy_links;
extern int copy_unsafe_links;
+extern int remote_protocol;
extern int protocol_version;
extern int sanitize_paths;
extern int orig_umask;
@@ -314,6 +315,7 @@
{
unsigned short flags;
static time_t modtime;
+ static time_t acctime;
static mode_t mode;
static int64 dev;
static dev_t rdev;
@@ -329,7 +331,7 @@
if (!file) {
write_byte(f, 0);
- modtime = 0, mode = 0;
+ modtime = 0, acctime = 0, mode = 0;
dev = 0, rdev = makedev(0, 0);
rdev_major = 0;
uid = 0, gid = 0;
@@ -379,6 +3...
2015 Jul 31
4
Dovecot/Pigeonhole Issue (UTC modtime instead of localtime)
...rs old.
I think I found out that the function sieve_file_storage_update_mtime()
is the cause of this problem. But perhaps there has to be some kind of
setup, that tells pigeonhole to use the 2 hour offset of CEST.
I think to reset the mtime by utime(s) is a bit strange. It already gets
the correct modtime just by storing it in the filesystem.
Last version we used (0.2.5) did not have this poblem. So it must be
there for some reason?
Perhaps you can enlighten me.
Thanks for your time.
Greetings
--
Sitepark Gesellschaft f?r Informationsmanagement mbH
Rothenburg 14-16, 48143 M?nster
Telefon: +4...
2015 Jul 31
0
Dovecot/Pigeonhole Issue (UTC modtime instead of localtime)
...Sieve scripts and not the delivered
e-mail. That part is handled by Dovecot lib-storage.
> But perhaps there has to be some kind of
> setup, that tells pigeonhole to use the 2 hour offset of CEST.
> I think to reset the mtime by utime(s) is a bit strange. It already gets
> the correct modtime just by storing it in the filesystem.
>
> Last version we used (0.2.5) did not have this poblem. So it must be
> there for some reason?
That is very old. Many things have changed in the mean time, so this is
not very helpful in pinpointing what could cause this.
I haven't tried thi...
2016 Jan 20
2
[PATCH] Consider nanoseconds when quick-checking for unchanged files
...Jan 2015 16:02:27 +0100:
> --- a/generator.c 2014-06-14 01:05:08.000000000 +0200
> +++ b/generator.c 2015-01-02 15:50:30.000000000 +0100
> @@ -588,7 +588,14 @@
> if (ignore_times)
> return 0;
> - return cmp_time(st->st_mtime, file->modtime) == 0;
> + return cmp_time(st->st_mtime, file->modtime) == 0
> +#ifdef ST_MTIME_NSEC
> + ? st->st_mtime == file->modtime
> + && NSEC_BUMP(file) ? (uint32)st->ST_MTIME_NSEC ==
> F_MOD_NSEC(file)
> +...
2002 Nov 10
0
bug with symlinks
...end_file_list done
deleting in .
generator starting pid=1289 count=21
recv_generator(.,0)
recv_generator(dists,1)
recv_generator(dists/Debian2.2r7,2)
recv_generator(dists/Debian3.0r0,3)
recv_generator(dists/old-proposed-updates,4)
recv_generator(dists/oldstable,5)
recv_generator(dists/potato,6)
set modtime of dists/potato to (987467538) Tue Apr 17 02:32:18 2001
dists/potato/
recv_generator(dists/potato-proposed-updates,7)
set modtime of dists/potato-proposed-updates to (1036891853) Sun Nov 10 02:30:53 2002
dists/potato-proposed-updates/
recv_generator(dists/proposed-updates,8)
set modtime of dists/p...
2013 Mar 11
1
do not update dirtimes on --include='*/' --exclude='*'
Hello,
I'm trying to do something that did not sound difficult, but no option I've
tried seems to be working. I apologize in advance if I'm missing something
obvious.
I need to sync only directories from one tree to a similar, but older tree
*without* updating the modtimes of directories that already exist in the
destination. Or phrased the other way, I want to entirely skip transferring or
updating directories that already exist in the destination, without regard to
modtime. Right now I'm using something along the lines of:
rsync -nav --no-t --numeric-ids...
2004 Aug 05
0
[Bug 1582] New: rsync dry run cannot find missing folders, contradicts actual run.
...cv_file_list done
get_local_name count=8 /export/sw/irix6/sw01/testirix6/junkdir/
created directory /export/sw/irix6/sw01/testirix6/junkdir
send_file_list done
deleting in junkdir4
recv_files(8) starting
generator starting pid=432780 count=8
delta transmission enabled
recv_generator(junkdir4,0)
set modtime of junkdir4 to (1091220597) Fri Jul 30 15:49:57 2004
junkdir4/
recv_generator(junkdir4/gar1,1)
send_files(1, /export/sw/irix/testirix6/junkdir/junkdir4/gar1)
send_files mapped /export/sw/irix/testirix6/junkdir/junkdir4/gar1 of size 0
calling match_sums /export/sw/irix/testirix6/junkdir/junkdir4/ga...
2010 Oct 30
1
osx remote backup wrong permissions
...y test folder show nothing remarkable, no errors, etc. Am I missing something here?
Any thoughts appreciated or directions to look in.
Thanks, Rob
delta-transmission enabled
recv_files(1) starting
recv_generator(audit,1)
recv_generator(audit,2)
send_files(2, /private/var/audit)
audit/
set modtime of audit to (1288417603) Sat Oct 30 01:46:43 2010
recv_generator(audit/20100701144405.20100702030039,3)
send_files(3, /private/var/audit/20100701144405.20100702030039)
send_files mapped /private/var/audit/20100701144405.20100702030039 of size 21066
calling match_sums /private/var/audit/20100701144...
1999 Nov 17
6
Samba 2.0.6, MKS' touch.exe, and file/dir time stamps
...s 0 Nov 17 13:39 xx
Executing "f:\mksnt\touch.exe xx" on the client results in the following
log messages (debug level = 10):
| < .... the file is looked up and opened .... >
| [1999/11/17 13:39:45, 6] smbd/trans2.c:(1905)
| actime: Wed Nov 17 13:36:24 1999
| modtime: Wed Nov 17 10:18:01 1999
| size: 0 mode: 0
| [1999/11/17 13:39:45, 10] smbd/trans2.c:(1935)
| call_trans2setfilepathinfo: setting pending modtime to Wed Nov 17
10:18:01 1999
| < .... file is closed .... >
MKS' touch is supposedly updating the access and modification times...
2010 Jan 05
2
Ignoring parts of stat(2)
How do I make rsync ignore and not report or update certain parts
of the [l]stat(2) struct or checksum when selecting which items to
report or update in a hierarchy?
For example, I want to run:
rsync -Haxi --delete /hier1/ /hier2/
and have it NOT do anything if say ONLY the modtime differs.
Leaving out or in the --times [-t] option from the expansion of -a
to -rlptgoD obviously does not do this.
That would be a pretty awesome feature to have :)
Especially for where modtime is the only thing changed. Commonly
caused by someone extracting a cp/tar/cpio/etc without preserving...
2015 Aug 04
1
Dovecot/Pigeonhole Issue (UTC modtime instead of localtime)
Hello ML, Hello Stephan,
> Hmm. Probably, the timezone configuration (i.e. the contents of TZ
> timezone environment variable) somehow doesn't reach the final stages
> of e-mail delivery.
Well. I tried several ways of telling the lda or whatever is setting up
the INTERNALDATE to use the CEST +0200.
Although it is already setup on the server via a symlink
from /etc/localtime to
2009 May 15
1
rsync creates file twice
...sr/include/fltk-1.1/FL/Fl_Menu_Item.H,*,2)
[sender] make_file(/usr/include/fltk-1.1/FL/Fl_Fill_Dial.h,*,2)
[sender] make_file(/usr/include/fltk-1.1/FL/Fl_JPEG_Image.H,*,2)
[sender] make_file(/usr/include/fltk-1.1/FL/Fl_Object.h,*,2)
[sender] make_file(/usr/include/fltk-1.1/FL/Fl_Adjuster.H,*,2)
set modtime of usr to (1242354864) Fri May 15 02:34:24 2009
recv_generator(usr/include,3)
[generator] receiving flist for dir 1
recv_file_name(/usr/include/fltk-1.1)
received 1 names
[generator] flist start=5, used=1, low=0, high=0
[generator] i=5 3 usr/include/fltk-1.1/ mode=040755 len=4096 uid=0 gid=0 flags...
2001 Sep 01
3
Patch to make rsync preserve access times
...aner.)
> *** ./flist.c Wed Jan 26 23:53:39 2000
> --- ./flist.c Mon Feb 7 00:52:17 2000
...
> ***************
> *** 201,206 ****
> --- 203,209 ----
> if (file->uid == last_uid) flags |= SAME_UID;
> if (file->gid == last_gid) flags |= SAME_GID;
> if (file->modtime == last_time) flags |= SAME_TIME;
> + if (file->accesstime == last_access_time) flags |= SAME_ACCESS_TIME;
>
> for (l1=0;lastname[l1] && (fname[l1] == lastname[l1]) && (l1 < 255);l1++) ;
> l2 = strlen(fname) - l1;
Setting this additional flag bit, SAM...
2006 Oct 11
4
"Invalid file index" failures, suspicious index numbers
...,*,2)
[generator] make_file(bin/gtar,*,2)
[generator] make_file(bin/nisdomainname,*,2)
[generator] make_file(bin/rbash,*,2)
* This continues up to about the 348,000-line mark and we see "delta-
transmission enabled":
delete_in_dir(lib)
delta-transmission enabled
recv_generator(.,0)
set modtime of . to (1153412202) Thu Jul 20 18:16:42 2006
recv_generator(.autofsck,1)
recv_generator(bin,2)
recv_generator(bin/arch,3)
recv_generator(bin/ash,4)
recv_generator(bin/ash.static,5)
recv_generator(bin/awk,6)
bin/awk is uptodate
recv_generator(bin/basename,7)
recv_generator(bin/bash,8)
recv_generat...
2000 Jan 20
1
MS Excel/NT/Samba timestamp - serious problem, bug?
A rather distressing timestamp issue (to multiple users here). Anyone
seen similar behavior or have a suggestion/solution?
Problem:
Opening and closing an excel file (no changes/keystrokes to file) on
the Samba server causes the file to be saved with time stamp of
closing. (There is no autosave set on Excel - also see other info below)
MS Excel 97 SR-2
NT 4.0 SP5
Solaris 2.6 or 2.7 (2
2016 Sep 30
1
Sys.setFileTime()
Since there has been a recent tweak to the functionality of
Sys.setFileTime() I thought it might be an opportune time to ask a question
regarding the decision to set both access and modification times
(i.e. settime.actime = settime.modtime = (int)ftime; ) vs provide a
parameter for each.
Might it be possible to change the behavior to accept two parameters (one
for active and one for modtime) but default to setting both the same (to
preserve existing functionality)?
If there was a compelling reason to have it set both and not allow...
2004 Dec 14
2
[LLVMdev] Which StatusInfo fields should have values set when dealing with win32 platform
I'm implementing this right now. BY_HANDLE_FILE_INFORMATION isn't the
correct API, as Path doesn't have an open file handle handy. Nor does
it need one.
Reid Spencer wrote:
>Henrik,
>
>modTime.fromWin32Time(ftLastWriteTime);
> Note that you'll need write a "fromWin32Time" for the TimeValue
> class to make the conversion of ftLastWriteTime to TimeValue's
> notion of normalized time.
>
>isDir = dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY;
>
>f...