• Damien Lespiau's avatar
    frob-patch-rank: A little script to batch renaming patch files · 3b8e89f3
    Damien Lespiau authored
    The "usage" text should explain it all. I found, in my quilt series
    handling endeavours, that I wanted to be able to shift the prefix
    numbers of a patch series.
    v2: Use heredoc for usage string, fix second example, use mv -i (Jani)
    v3: Don't use a fancy read for usage() (Jani)
        Collect the files to rename in a first pass, or the renaming process
        can interfere with listing the next files to rename
    v4: Require bash (Jani)
    Looks-good-to: Jani Nikula <jani.nikula@linux.intel.com>
    Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
frob-patch-rank 1018 Bytes