You can also find me on My website , Mastodon , Bluesky , GitHub and more .
Notes
Bulk rename files
Initializing search
    RealOrangeOne/notes
    RealOrangeOne/notes
    • Notes
    • Colophon
    • Notes
        • Create presigned URLs using AWS CLI
        • Cross-account data transfer in S3
        • Enforce TLS for S3
        • Get credentials for an assumed role
        • Using the AWS CLI without installing it
        • Bulk rename files
        • Rebase commits done on the wrong branch
        • Force GitHub to detect a language
        • Infinite-expiry access tokens on self-hosted GitLab
        • Scaling Heroku's release type
        • Scheduler-only Heroku apps
        • Optimising GIFs
        • Downmixing audio channels
        • Strip audio / subtitle stream with ffmpeg
        • Hide short Table of Contents
        • Navigate mkdocs by tag
        • Simple reverse proxy
        • Find and kill long running queries
        • Monitor running queries
        • Truncate a database from the inside
        • View wide tables with psql
        • Monitor redis commands
        • Stop saving bash history
    CLI

    Bulk rename files

    rename 's/<in_re>/<out_re>/g' *
    

    Useful options:

    -v: List files renamed -n: Dry-run -d: Act just on the filename

    May 14, 2021 May 14, 2021
    © Jake Howard
    Made with Material for MkDocs