In Shell Script How to copy files to a randomly generated directory path?
I need to copy files to a directory under my home directory like "/home/myproject/Gs54hs6h/images/"
but in the middle of the path there is a directory "Gs54hs6h" it gets created automatically every time with a new name; when there is a new process ran. what is the shell script notation I can use to passthrough this randomly generated directory name? cp xyz.img /home/mydotproj/xxxxxxxxx/images/