Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Markup and minor grammar fixes.
Source Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k

In the remote directory, iI have the below files and need to copy only the current daysday's files + previous run failures to my local directory.

Example: in Remote:

aa.txt

aa-18-04-2017.txt

aa-17-04-2017.txt

aa.txt
aa-18-04-2017.txt
aa-17-04-2017.txt

inIn local, I have to rsync the file "aa.txt"aa.txt to my new directory.

in caseIf the previous run got failed, I need to rsync two files (aa.txt, aa-18-04-2017.txtaa.txt and aa-18-04-2017.txt).

Can someone help me here to resolve this. Thanks in advance?

Currently, RSYNC is copying all the files to our local directory and this causing storage issue on daily basis.

In remote directory, i have below files and need to copy only the current days files + previous run failures to my local directory.

Example: in Remote:

aa.txt

aa-18-04-2017.txt

aa-17-04-2017.txt

in local, I have to rsync the file "aa.txt" to my new directory.

in case previous run got failed I need to rsync two files (aa.txt, aa-18-04-2017.txt).

Can someone help me here to resolve this. Thanks in advance

Currently, RSYNC is copying all the files to our local directory and this causing storage issue on daily basis.

In the remote directory, I have the below files and need to copy only the current day's files + previous run failures to my local directory.

Example: in Remote:

aa.txt
aa-18-04-2017.txt
aa-17-04-2017.txt

In local, I have to rsync the file aa.txt to my new directory.

If the previous run failed, I need to rsync two files (aa.txt and aa-18-04-2017.txt).

Can someone help me here to resolve this?

Currently, RSYNC is copying all the files to our local directory and this causing storage issue on daily basis.

Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 11 characters in body
Source Link
Dev
  • 51
  • 1
  • 4

In remote directory, i have below files and need to copy only the current days files + previous run failures to my local directory.

Example: in Remote: aa

aa.txt aa

aa-18-04-2017.txt aa

aa-17-04-2017.txt

in local, I have to rsync the file aa"aa.txttxt" to my new directory. incase

in case previous run got failed I need to rsync two files (aa.txt, aa-18-04-2017.txt).

Can someone help me here to resolve this. Thanks in advance

Currently, RSYNC is copying all the files to our local directory and this causing storage issue on daily basis.

In remote directory, i have below files and need to copy only the current days files + previous run failures to my local directory.

Example: in Remote: aa.txt aa-18-04-2017.txt aa-17-04-2017.txt

in local, I have to rsync the file aa.txt to my new directory. incase previous run got failed I need to rsync two files (aa.txt, aa-18-04-2017.txt).

Can someone help me here to resolve this. Thanks in advance

In remote directory, i have below files and need to copy only the current days files + previous run failures to my local directory.

Example: in Remote:

aa.txt

aa-18-04-2017.txt

aa-17-04-2017.txt

in local, I have to rsync the file "aa.txt" to my new directory.

in case previous run got failed I need to rsync two files (aa.txt, aa-18-04-2017.txt).

Can someone help me here to resolve this. Thanks in advance

Currently, RSYNC is copying all the files to our local directory and this causing storage issue on daily basis.

Source Link
Dev
  • 51
  • 1
  • 4

RSYNC to copy new files in different directory

In remote directory, i have below files and need to copy only the current days files + previous run failures to my local directory.

Example: in Remote: aa.txt aa-18-04-2017.txt aa-17-04-2017.txt

in local, I have to rsync the file aa.txt to my new directory. incase previous run got failed I need to rsync two files (aa.txt, aa-18-04-2017.txt).

Can someone help me here to resolve this. Thanks in advance