Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 995 Bytes

README.md

File metadata and controls

38 lines (31 loc) · 995 Bytes

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.