I want to use cp command in a script where the path structure has variable folder name.
my_folder123243 is not constant and
my_folder* is the only folder in
I tried using
cp -f Workspace/unzipped_workspace/artifactory/*/files ./
But this is giving me error
cp cannot stat Workspace/unzipped_workspace/artifactory/*/files: no such file or directory
How can I use
cp command in my script when I have variable folder name?