Originally Posted by
R2D2!
Well, I almost finish the FBCMD grabber. There's a small issue: you have to select /tmp/facebook as the source folder. Can this be set as default? or Is there a better way to achieve this?
It can't be set as default but if you set the options from the gui you can run the grabber with only:
Code:
avatar-factory -g fbcmd
Maybe a more correct but complicated way to do it from the user perspective is to remove the following from grabber_secondary_options:
Code:
if [ ! -e "/tmp/facebook" ]; then
fbcmd PPICS =all /tmp/facebook "-pf=[tid]-[tname].jpg" -ppsize=1
fi
You first run:
Code:
fbcmd PPICS =all some-folder "-pf=[tid]-[tname].jpg"
And then:
Code:
avatar-factory -g fbcmd some-folder destination
This way is more configurable.
I think that the tmp folder content gets deleted with every restart.
You can add an alias to ~/.bashrc
Code:
alias avatar-factory-fbcmd='fbcmd PPICS =all /tmp/facebook "-pf=[tid]-[tname].jpg" -ppsize=1 && avatar-factory -g fbcmd some-folder destination'
And run it with:
Code:
avatar-factory-fbcmd
But it is your choice...
Bookmarks