Page 1 of 1

Issue with sorting using fn for dir name?

Posted: September 22nd, 2022, 10:52 pm
by ezelkow1
I had been trying to use fn for the dir name for my downloads:
%fn/%title (%y).%ext

It appears that it renames the file properly how I want but it generates a directory literally named "%fn". So I wasnt sure if you just weren't allowed to use fn for the dir name or if I was doing something wrong?

I usually like my setup to be something like movie_name_year_etc_etc/renamed_movie (replace underscores with dots, the dots make phpBB think it's a link)
Which sab seems to do in it's intermediate/temporary directory, but I couldnt get it to do it on final output

Re: Issue with sorting using fn for dir name?

Posted: September 24th, 2022, 4:03 am
by safihre
Yes you can only use %fn for the filename, you should use %dn for the directory.

Re: Issue with sorting using fn for dir name?

Posted: September 24th, 2022, 4:12 am
by ezelkow1
safihre wrote: September 24th, 2022, 4:03 am Yes you can only use %fn for the filename, you should use %dn for the directory.
thanks, so is there anyway to get a dir name that is closer to what is used during unpacking? since using dn ends up with spaces between each component rather than the original representation

Re: Issue with sorting using fn for dir name?

Posted: September 24th, 2022, 5:15 am
by safihre
If you want the name during Unpacking, then just don't use Sorting at all.
Or only use %fn, don't specify the directory name and it should use the original name automatically.