Allow usage of fragment from old file name similar to Python slicing

Aperta
#10 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
desktop

Direzione di ricerca

Start by locating how Bulky parses renaming masks and substitutes old filename fragments. Compare that flow with the example mask [1-4]jean-luc[4-] and determine how slice boundaries should behave, including the file extension. Done means the mask can rename a filename as shown in the issue; the payload names no files or tests to start from.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

On Windows, my batch renaming tool is called "Joe" (which German only, as I just saw):
http://toolsandmore.de/Central/Produkte/Software/Datei-Tools/Joe/

It allows to enter a renaming mask where one can specify fragments of the old filename and add additional elements literally or via placeholders. Example:

"cpt-picard" becomes "cpt-jean-luc-picard" with this mask: [1-4]jean-luc[4-]

  • [1-4] refers to "cpt-"; 1st til 4th letters (incl)
  • "jean-luc" is inserted as literal
  • [4-] refers to "-picard.txt"; everything from the 4th letter til end

Such a technique is always quite handy and allows to rename quite a lot in one go.
Maybe it will find it's way into Bulky.

Lingua principale
Python
Stelle
118
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/bulky

Tutte le issue di linuxmint/bulky

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.