in reply to Re^4: how to move the folder from one directory to another directory?
in thread how to move the folder from one directory to another directory?
What can be found in that directory besides the session folder? Is it the only file/folder in the directory?
Update: You can list all directories in the path_to_folder.
Additional filtering can be addded to the file glob and/or regexp match can be added to the if statement.foreach (<path_to_sessions/*>) { if ( -d ) { print "$_\n"; move(... } }
|
|---|