Skip to content

Rename KiCAD files and directories in a single command (for zsh (namely MacOS users)).

License

Notifications You must be signed in to change notification settings

HarveyBates/kicad-rename-zsh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kicad-rename-zsh

Rename KiCAD projects. Will handle files, directories and sub-directories. Skips .zip files.

This will handle components you have imported into your project if they are housed in the same directory as your .kicad_pro file and have used relative file imports.

Installation

Requires brew (rename directory pkg):

brew install rename
git clone https://github.com/HarveyBates/kicad-rename-zsh
cd kicad-rename-zsh
chmod -x kicad-rename.sh
pwd # Copy this into next line
echo 'alias kicad-rename="<PASTE_HERE>/kicad-rename.sh"' >> ~/.zshrc
source ~/.zshrc

Usage

cd <your/kicad/project/>
kicad-rename -p previous_name -n new_name

Help

kicad-rename - Rename kicad project and directories.
 
kicad-rename [options] application [arguements]
 
options:
-h                      Show help information.
-p      (required)      Previous KiCAD project name.
-n      (required)      New KiCAD project name.

About

Rename KiCAD files and directories in a single command (for zsh (namely MacOS users)).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages