Tagging Using folder and subfolders only

"Filename - Tag" also supports directories:
/t/8016/1

If you want to use an action use "Format value" and the placeholders %_directory% and %_parent_directory%

I.e.
Action type: Format value
Field: ARTIST
Format string: %_parent_directory%