Search found 9 matches

by gKxFF
02 Jul 2019, 20:02
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

I forgot "ny.upperInitial() + '/' + " part and remove subt and maybe it's better to hardcode the lang codes: {f.isSubtitle() ? ny.upperInitial() + '/' + fn.replaceAll(/\.(en|eng)$/) : ny.upperInitial() + '/' + fn}/{fn} This seems to work! I have only tested on a single folder, but it seem...
by gKxFF
30 Jun 2019, 11:12
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

Kim: Thanks so much for your help so far! I tried running: filebot -rename -r . --output . --format "{f.isSubtitle() ? (ny-subt).upperInitial() + '/' + fn.replaceAll(/\.\w*$/) : fn}/{fn}" --action TEST --db TheMovieDB -non-strict Which gave me this result: https://pastebin.com/bHP1Qfuw No...
by gKxFF
29 Jun 2019, 21:41
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

I tried running filebot -rename -r . --output . --format "{f.isSubtitle() ? (ny-subt).upperInitial() + '/' + fn-subt : ny.upperInitial() + '/' + fn}/{fn}" --action TEST --db TheMovieDB -non-strict Gave me this output: https://pastebin.com/YR0vEXqk Which has the same problem. It still creat...
by gKxFF
29 Jun 2019, 13:45
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

Here's the command:

Code: Select all

filebot -rename -r . --output . --format "{ny.upperInitial()}/{fn}/{fn}" --action TEST --db TheMovieDB -non-strict
Here's the output:

Code: Select all

https://pastebin.com/ZDT1ea4g
by gKxFF
29 Jun 2019, 11:09
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

Yes, and me too. Using your example, I would like it to be: Rename movies using [TheMovieDB] Auto-detect movie from context: [Avatar.2009.mkv] [TEST] from [Avatar.2009.mkv] to [Avatar (2009)/Avatar.2009/Avatar.2009.mkv] Processed 1 files So that the folder name, parent to the mkv file, is the same n...
by gKxFF
29 Jun 2019, 10:19
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

No, they aren't correctly renamed :/ The folder structure, after running your command is: /home/user/Movies/This Is A Movie (1999)/(allTheFilesCorrectlyNamed) /home/user/Movies/This.Is.A.Movie.1999.BluRay.x264-GROUP/(empty folder) I would like it to be: /home/user/Movies/This Is A Movie (1999)/This....
by gKxFF
28 Jun 2019, 23:37
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

Hey again Kim. Running your command, gives somewhat unexpected results. It's now: /home/user/Movies/This Is A Movie (1999)/allTheFilesCorrectlyNamed /home/user/Movies/This.Is.A.Movie.1999.BluRay.x264-GROUP/(empty) Which is not the result I was hoping for :( I'm still looking for: /home/user/Movies/T...
by gKxFF
27 Jun 2019, 20:39
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Re: Noob here, needs help with CLI command

Thanks for the answer, but how do I put it into a CLI command? I tried running filebot -rename /home/user/Movies/* --db "TheMovieDB" --format "{plex.name.upperInitial()}/{fn}" But that messed up things a lot. Made the right directories, except they're all sub-folders, plus the co...
by gKxFF
27 Jun 2019, 19:55
Forum: Ubuntu & Desktop Linux
Topic: Noob here, needs help with CLI command
Replies: 18
Views: 7946

Noob here, needs help with CLI command

Hey there. I'm trying to rename a whole bunch of folders, into something more "readable". So, without explaining too much, the directory where all the folders reside, is like this: /home/user/Movies/This.Is.A.Movie.1999.BluRay.x264-GROUP /home/user/Movies/This.Is.Also.A.Movie.2001-BluRay.x...