journal
all ![]() | Rob is 20,117 days old today. |
June 2021 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Apr 2025 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2020 jan feb mar apr may jun jul aug sep oct nov dec
2025 jan feb mar apr may jun jul aug sep oct nov dec |< << more >> >| |
Entries this day: monitor-files-in-directory-and-scp-them-to-server monitor files in directory and scp them to server I just posted on Reddit: monitor files in directory and scp them to server I found Monitor Directory for New Files and now can send to
I tried wrapping the above in
But the files are not being sent to the server. In front of The
How can I send filenames from 16:11 Sunday 25 July 2021 JSTThanks to /u/xkcd__386 answer, this is what I have been using, sans linewraps: inotifywait --exclude '.git/*' -mre modify . | stdbuf -oL uniq | sed -ue 's/ MODIFY //' | xargs -d$'\n' -I% scp -P 22 -i /home/robnugen/privatekey % robnugen@remote:path%permalink prev day next day |