I always wondered why skype don't put all my accepted downloads in subfolders with the name of my contacts!
If anybody have own solutions, share)
So I made a script and saved it as a folder action:
for f in "$@" do userFolder=~/Downloads/Skype/`xattr -p com.apple.metadata:kMDItemWhereFroms "$f" | sed -e 's/0D//g' -e 's/.*\(5F 10\)...//' -e 's/00.*//'| xxd -r -p | sed -e 's@ (.*@@g'` mkdir -p "$userFolder" mv "$f" "$userFolder" done
What it does:
where fromfield from file. In binary
If you have more elegant solution, I would be glad to see them :)
P.S. if you didn't know about
where from filed you can find it in
get info for some finder items.
To categorize existing downloads you can also add service.