Closed GoogleCodeExporter closed 8 years ago
At least in Linux you can do that easily,
find /var/www/html/images/ -regextype posix-extended -regex '.*(gif|jpg|png)'
-print0 | xargs -0 weed upload -server=127.0.0.1:9333
Original comment by claudiu....@gmail.com
on 13 Jul 2013 at 8:36
But it should be the same for all systems. On linux it's easy ;)
Original comment by Karol.Mu...@gmail.com
on 13 Jul 2013 at 8:55
Add support to upload a directory recursively.
But right now it doesn't support regular expressions. Someone can help on this?
Original comment by chris...@gmail.com
on 13 Jul 2013 at 9:16
I'm not familiar with GO but this could be useful:
http://golang.org/pkg/regexp/
and get filename regexp from cmd line parameters if added?
Original comment by Karol.Mu...@gmail.com
on 13 Jul 2013 at 10:21
Maybe this (where s will be file or filepath):
func (re *Regexp) MatchString(s string) bool
Original comment by Karol.Mu...@gmail.com
on 13 Jul 2013 at 10:35
This needs some coding labor. Regular expression is different. People want to
use *.jpg, instead of .*\.jpg to match stuff.
Original comment by chris...@gmail.com
on 13 Jul 2013 at 11:01
Now it support an option, for example:
-include=*.pdf
Original comment by chris...@gmail.com
on 14 Jul 2013 at 6:20
Original issue reported on code.google.com by
Karol.Mu...@gmail.com
on 13 Jul 2013 at 8:12