gspott Posted May 10, 2017 Share Posted May 10, 2017 I have a webcam uploading picture to my unraid server every 10min. Is there any way to auto move every day with picture in a new folder named with date or something like that? Filename: rogn20170510_202113_3336.jpg rogn20170510_203113_3937.jpg I have looked at davos v2 application but cant find the things i whant. Thanks. Quote Link to comment
Greygoose Posted May 14, 2017 Share Posted May 14, 2017 Krusader docker has some automation features. Quote Link to comment
kizer Posted May 15, 2017 Share Posted May 15, 2017 I used to run this with Cron so it would run daily. #!/bin/bash Today="`date +%Y-%m-%d`" mv /sourcefolder/*.* /destinationfolder/$Today-folder The above would create a folder based on the date and put everything in that folder Quote Link to comment
gspott Posted May 16, 2017 Author Share Posted May 16, 2017 On 14.5.2017 at 9:54 AM, Greygoose said: Krusader docker has some automation features. I cant find any features around this? On 15.5.2017 at 4:09 PM, kizer said: I used to run this with Cron so it would run daily. #!/bin/bash Today="`date +%Y-%m-%d`" mv /sourcefolder/*.* /destinationfolder/$Today-folder The above would create a folder based on the date and put everything in that folder Maby i could give this a try. Quote Link to comment
kizer Posted May 16, 2017 Share Posted May 16, 2017 It'll at least give you a start until you come up with something you like better. 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.