Issue
I am trying to recreate a zip command from windows in Unix and facing issues as expected. Windows command is
zip "zipfilename.zip" -j -u -m -g -T -9 "sourcefiledirectory\*20181010.*
On UNIX the pattern *20181010.*
is not getting identified and i am getting the message
"zip warning: name not matched".
Please help in getting over this.
Solution
You have specified the wildcard path in Windows format (i.e. using "\" for the path separator, rather than "/")
"sourcefiledirectory\*20181010.*"
try this instead
"sourcefiledirectory/*20181010.*"
Answered By - pmqs