13342026 March 05 · 👁 9 views#bashI love #cli, scripts, and sometimes I want my script to accept an argument that is the same as the folder name. How to pass that current folder name to the script?upload.py file.pdf --category "${PWD##*/}" Yep, it works.View on Telegram ↗