Hello, I would like to ask for an assistance to anyone that might have a solution to the issue I'm currently having.
Whenever I put a target date on the files that I would like to retrieve, it doesn't return anything. But when I use wildcard, it returns all the files with the likeness of my search.
Currently this put a limitation on my project.
Code snippet:
---- This one is working (It returns results) ----
sendln 'find . -type f -name "abc-*.log.gz" -exec basename {} \;'
waitln '*.gz'
while numfiles>0
recvln
sendln inputstr
numfiles=numfiles-1
endwhile
---- This one is not working (It doesn't return results) ----
sendln 'find . -type f -name "abc-20230217.log.gz" -exec basename {} \;'
waitln '*.gz'
while numfiles>0
recvln
sendln inputstr
numfiles=numfiles-1
endwhile
Hello, I would like to ask for an assistance to anyone that might have a solution to the issue I'm currently having.
Whenever I put a target date on the files that I would like to retrieve, it doesn't return anything. But when I use wildcard, it returns all the files with the likeness of my search. Currently this put a limitation on my project.
Code snippet: