Giter VIP home page Giter VIP logo

Comments (1)

lescx avatar lescx commented on September 27, 2024

Or another example I encountered:

nomino -pe "Season .*/.*S(\d+)E(\d+) \- (\w+.*) \(.*" "Season {:2}/Episode {:2} - {}"                                                                                                
[error] unable to rename 'Season 2/Avatar The Last Airbender (2005) - S02E05 - Avatar Day (1080p WEB-DL x265 RCVR).mkv': No such file or directory (os error 2)                          
[error] unable to rename 'Season 2/Avatar The Last Airbender (2005) - S02E10 - The Library (1080p WEB-DL x265 RCVR).mkv': No such file or directory (os error 2)                         
[error] unable to rename 'Season 2/Avatar The Last Airbender (2005) - S02E17 - Lake Laogai (1080p WEB-DL x265 RCVR).mkv': No such file or directory (os error 2)
…
$ ls
'Season 1'  'Season 2'  'Season 3'
$ ls Season\ 1/
'Avatar The Last Airbender (2005) - S01E01 - The Boy in the Iceberg (1080p WEB-DL x265 RCVR).mkv'
'Avatar The Last Airbender (2005) - S01E02 - The Avatar Returns (1080p WEB-DL x265 RCVR).mkv'
'Avatar The Last Airbender (2005) - S01E03 - The Southern Air Temple (1080p WEB-DL x265 RCVR).mkv'
'Avatar The Last Airbender (2005) - S01E04 - The Warriors of Kyoshi (1080p WEB-DL x265 RCVR).mkv'

Still, it seems to work when I test it.

nomino -pet "Season .*/.*S(\d+)E(\d+) \- (\w+.*) \(.*" "Season {:2}/Episode {:2} - {}"
| Season 1/Avatar The Last Airbender (2005) - S01E01 - The Boy in the Iceberg (1080p WEB-DL x265 RCVR).mkv               | Season 01/Episode 01 - The Boy in the Iceberg.mkv               |
| Season 1/Avatar The Last Airbender (2005) - S01E02 - The Avatar Returns (1080p WEB-DL x265 RCVR).mkv                   | Season 01/Episode 02 - The Avatar Returns.mkv                   |
| Season 1/Avatar The Last Airbender (2005) - S01E03 - The Southern Air Temple (1080p WEB-DL x265 RCVR).mkv              | Season 01/Episode 03 - The Southern Air Temple.mkv              |
| Season 1/Avatar The Last Airbender (2005) - S01E04 - The Warriors of Kyoshi (1080p WEB-DL x265 RCVR).mkv               | Season 01/Episode 04 - The Warriors of Kyoshi.mkv               |

In this case I know I should add the -k parameter. We could add an error message like: Please add -k parameter. Adding the -k parameter in the first example does not work.

from nomino.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.