04-12-2019
Do you know when the "last file" has been created? Are you able to identify it?
You seem to know the creating program / script. Are you able to modify it?
Do you REALLY have to rsync before the last files has arrived? Can't you wait until they're complete? The process doesn't seem to take that long...
Last edited by RudiC; 04-12-2019 at 05:02 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
Can some one please help me
How can i search a file which has been created or modified in last five minutes
I have used the command
find . -mmin -5
and it does not work
i get an error -mmin is bad option
Please help
Much regards
Tarun (2 Replies)
Discussion started by: tarundeepdhawan
2 Replies
2. Shell Programming and Scripting
find . -name *.txt -mmin -30
This is working in Redhat but not in Solaris..
What is the equivalent option in Solaris? (1 Reply)
Discussion started by: tene
1 Replies
3. Shell Programming and Scripting
Is it possible in an ftp script to get remote files based on whether they have been created in the last 30 minutes? (5 Replies)
Discussion started by: gefa
5 Replies
4. Shell Programming and Scripting
Hi ,
I need help in getting how many minutes ago the last file, matching some pattern in file name, was created in a folder.
Thanks in advance. (8 Replies)
Discussion started by: Anupam_Halder
8 Replies
5. Shell Programming and Scripting
I wanted to send an email to the client whenever there is failed record created in a /feed/HR-76/failed folder after processing of feed file.
I can find out with the help of below script that what is the new file created but that file didn't make just 15 minutes before.
... (1 Reply)
Discussion started by: puneetkhullar
1 Replies
6. Shell Programming and Scripting
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies
7. UNIX for Beginners Questions & Answers
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies
8. Shell Programming and Scripting
Hi all,
System Ubuntu 16.04.3 LTS
i have the following log
INFO 2019-02-07 15:13:31,099 module.py:700] default: "POST /join/8550614e-3e94-4fa5-9ab2-135eefa69c1b HTTP/1.0" 500 2042
INFO 2019-02-07 15:13:31,569 module.py:700] default: "POST /join/6cb9c452-dcb1-45f3-bcca-e33f5d450105... (15 Replies)
Discussion started by: charli1
15 Replies
9. Shell Programming and Scripting
Hello all,
Info:
System RedHat 7.5
I need to create a script that based on the creation time,
if the file is older then 5 minutes then execute some stuff, if not exit.
I thought to get the creation time and minutes like this.
CreationTime=$(stat -c %y /tmp/test.log | awk -F" " '{ print... (3 Replies)
Discussion started by: charli1
3 Replies
10. UNIX for Beginners Questions & Answers
A process xyz is running and creating file1, file2, file3, .... filen. how do i know if the process has stopped and createtime of the last file (filen) is older than 5 minutes?
OS is AIX (3 Replies)
Discussion started by: malaika
3 Replies
LEARN ABOUT DEBIAN
dtc-xen_migrate
dtc-xen_migrate(8) System Manager's Manual dtc-xen_migrate(8)
NAME
dtc-xen_migrate - migrate a VPS to another Xen server
SYNOPSIS
LOCAL_VPS_ID DESTINATION_HOSTNAME [ DEST_VPS_ID ]
DESCRIPTION
dtc-xen_migrate This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server. Note
that you need rsync in both the source and the destination dom0.
This script is used to move the content of a Xen virtual machine (VM) managed with dtc-xen to another Xen server of the same type. The VM
destination will first be prepared, then the local VM will be shut down, then it's content will be transfered over using rsync.
Note that this is NOT a live migration, and down time of approximatively the time needed for the rsync will occure.
PARAMETERS
LOCAL_VPS_ID The DTC-Xen id of the VM, from 00 to 99.
DESTINATION_HOSTNAME Destination Xen server hostname to migrate to.
DEST_VPS_ID Destination DTC-Xen id of the VM, from 00 to 99.
EXAMPLE
dtc-xen_migrate 19 alpha.example.com 21
This will migrate the content of xen19 on the local machine to the destination server alpha.example.com using xen21 as VM name.
SEE ALSO
dtc_reinstall_os(8), dtc_kill_vps_disk(8)
dtc-xen_migrate(8)