Displaying 3 results from an estimated 3 matches for "cutoff_time".
2015 Apr 29
0
Using external filter on the server
...ript as suggested.
From the cmd line it returns a line of 0's or 1's if I pipe an 'ls' of
the folder to it, so seems ok.
--------------------------------------------------------------
#!/bin/bash
# We convert times to seconds since the Epoch so
# we can compare them with [ -gt ].
cutoff_time=$(date +%s -d "$1")
while IFS='' read fname; do
# Compare file's mtime to cutoff time
if [ $(stat --format=%Y $fname) -gt $cutoff_time ]; then
echo -n 1
else
echo -n 0
fi
done
--------------------------------------------------------------...
2007 Jan 04
1
DO NOT REPLY [Bug 2423] Feature Request: Ability to transfer files newer than date or file. (--newer switch).
https://bugzilla.samba.org/show_bug.cgi?id=2423
pe-rsync@hindenburgring.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pe-rsync@hindenburgring.com
------- Comment #6 from pe-rsync@hindenburgring.com 2007-01-04 01:34 MST -------
I can only second
2015 Apr 28
4
Options for a "I'm done" flag file
Lorenz Weber <mail at lenzw.de> wrote:
> rsync -avH ${all_gubbins} / user at remote.machine:/dest/ && ssh user at remote.machine touch /etc/donefile
No SSH access between them, only rsync. Besides, it would add the overhead of managing ssh access (users and keys) as well as Rsync.