I am writing a script that requires to get a dynamic folder path like this.
somefolder/prefix.datetime_suffix/foldera/folderb
datetime is in format YYYYMMDDHHMMSS. datetime part is changing.
In a script I need to get a full path of folderb to move files there.
How can I do that?