Answered step by step
Verified Expert Solution
Question
1 Approved Answer
How to combine scp and find in a single command ? Hi , I have a linux server from which i need to download files(zip)
How to combine scp and find in a single command ?
Hi , I have a linux server from which i need to download files(zip) to my local machine that is generated for a particular filename using scp and find command, my filename syntax is like this
WSB_20230105_20230106_052320.zip.bz2 ,i need to download only the files with filenames containing "20230105".
I have tried this
find . /app/weblogic/etsitf1/prestige/outbound/mis -type f -name "*_20230105_20230106*" -exec scp {} /tmp/tmp_dat_files \
which is not working for me . Please help
Thank you
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started