Question: 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
Get step-by-step solutions from verified subject matter experts
