Spies Posted June 21, 2017 Share Posted June 21, 2017 Is there any way to copy Avi files out of nested folders into a single folder without having to manually traverse them? Quote Link to comment
SpaceInvaderOne Posted June 21, 2017 Share Posted June 21, 2017 If you have access to the share with a windows box map it to z: The you could make a bat file and run it and should work for /r "z:\name\of\source\" %%x in (*.avi) do move "%%x" "Z:\destination\folder\" Quote Link to comment
Spies Posted June 21, 2017 Author Share Posted June 21, 2017 I tend to utilise windows search using "*.Avi -sample" then cut and paste the files. I just wondered if there was a way to do it internally. Quote Link to comment
Spies Posted July 9, 2017 Author Share Posted July 9, 2017 Just to save creating anther thread for what (presumably) is a simple answer, why is it that when I renmove files from /mnt/user/downloads to /mnt/user/media it ends up creating a media folder on the cache drive even though in unraid the media share is set to never use the cache drive? Quote Link to comment
itimpi Posted July 9, 2017 Share Posted July 9, 2017 That could happen if there is a downloads folder on the cache drive. You are working at the Linux level which does not know about user shares. I believe that the Linux ‘mv’ command first tries a rename and only if that fails carries out a copy/delete action. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.