0

I've made a Jenkins job to download gz archived csv reports with scp:

sshpass -p $password scp -o StrictHostKeyChecking=no -r $login@$IP:/archive/*.csv.gz .

Now I need to download only archives which was created between two dates. There is read only access for most users so create a list of files is not an option. I don't bother with possible security issues and there is no fixed list of servers to download from. Any ideas?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.