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

オープン
#10 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
118
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxmint/bulky のほかの issue

linuxmint/bulky の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。