Re: Move everything in a directory but exclude sub-directories
Sorry for reviving this old post.
I was having exactly the same issue and also tried
Then I found this post, unfortunately there was no progress for fixing this bug in years.
As a workaround I could just create another parent folder which is more a quick and dirty solution for my purpose.
I also tried the following code, but it doesn't seem to differentiate between files and folders on Linux systems. The script then tries to copy the folder "Backup" into itself.
I was having exactly the same issue and also tried
"option exclude */" ^
Then I found this post, unfortunately there was no progress for fixing this bug in years.
As a workaround I could just create another parent folder which is more a quick and dirty solution for my purpose.
I also tried the following code, but it doesn't seem to differentiate between files and folders on Linux systems. The script then tries to copy the folder "Backup" into itself.
"mv /export/*.* /export/Backup/" ^