README.md

March 19, 2024 ยท View on GitHub

โšก Advanced New File โšก

Add to your terminal the option to quickly create folders and files like a pro.

No Maintenance Intended

Use โš™๏ธ

ad [path file or folder]

Install ๐Ÿ”Œ

pip3 install --user advance-touch

Update ๐Ÿ’พ

pip3 install --user --upgrade advance-touch

๐Ÿ“š Examples ๐Ÿ“š

Single folder ๐Ÿ“

ad airport/plane/
airport/
โ”œโ”€โ”€ plane/

Multiple folders ๐Ÿ“โž•๐Ÿ“โž•๐Ÿ“

ad airport/ station/ port/
airport/
station/
port/

Single file with your hierarchy of folders ๐Ÿ“โžก๏ธ๐Ÿ“โžก๏ธ๐Ÿ“

ad airport/plane/captain.txt
airport/
โ”œโ”€โ”€ plane/
โ”‚   โ”œโ”€โ”€ captain.txt

Folder and single file with your hierarchy of folders ๐Ÿ“โž•๐Ÿ“โžก๏ธ๐Ÿ“

ad airport/ train-station/train.txt
airport/
โ”œโ”€โ”€ plane/
train-station/
โ”œโ”€โ”€ train.txt

If your shell supports arguments expansion ๐Ÿ“โžก๏ธ๐Ÿ“โžก๏ธ๐Ÿ“๐Ÿค–

ad airport/plane/{captain,passenger}.txt
airport/
โ”œโ”€โ”€ plane/
โ”‚   โ”œโ”€โ”€ captain.txt
โ”‚   โ”œโ”€โ”€ passenger.txt

Thanks to the power of ๐Ÿ Python ๐Ÿ

Pet created by Freepik - Flaticon