The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Rename Multiple Files On The Command Line With zmv In zsh

TODO: Pull subtitle into page object

This will rename all the `.mdx` files in the current directory to be `.txt` files

code_start_default_section code_end_default_section

autoload is require because `zmv` isn't loaded by default

via NyxKrage on twitch

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Rename Multiple Files On The Command Line With zmv In zsh

-- p

This will rename all the `.mdx` files in the current directory to be `.txt` files

-- code/
-- bash

autoload zmv
zmv '(*).mdx' '$1.txt'

-- /code

-- p

one liner:

-- code/

autoload zmv; zmv '(*).mdx' '$1.txt'

-- /code

-- p

autoload is require because `zmv` isn't loaded by default

-- p

via NyxKrage on twitch


-- categories
-- Command Line

-- metadata
-- date: 2021-10-30 20:54:52
-- id: 20eobsda
-- status: published
-- type: post
-- SCRUBBED_NEO: false
-- site: aws