Subscribe to get weekly email with the most promising tools 🚀

touchp-image-0

Description

touchp is a command-line utility written in Go that recursively creates directories and target files in a single command. It combines the functionality of mkdir -p and touch, making it easy to create files along with their parent directories. It supports multiple file creation, customizable permissions, and initial content.

How to use touchp?

Once installed, you can use touchp with the syntax: touchp [options] path/to/filename. Options include -f to force overwrite, -c to specify initial content, and -m to set file permission mode.

Core features of touchp:

1️⃣

Recursively create directories and files with one command

2️⃣

Support for multiple file creation in a single invocation

3️⃣

Customizable file permissions (e.g., 0644, 0600)

4️⃣

Option to specify initial content for the files

5️⃣

Cross-platform compatibility (macOS, Linux, Windows)

Why could be used touchp?

#Use caseStatus
# 1Creating a directory structure with files in one command
# 2Setting custom permissions for newly created files
# 3Initializing files with specific content during creation

Who developed touchp?

Touchp is developed by Bin Hua, who has created this utility to simplify the process of creating directories and files in a command-line environment.

FAQ of touchp