Create a empty file or folder with bash script.

Hello everyone,

If you want to create a empty files or folders with simple bash scripting.

First list the file names or folder names that you want to create in notepad or text edit  and then save the text format (ex .txt)

Download the scripts form link : https://github.com/hemanth22/Creating-Empty-file-or-folder.git

To download from linux terminal type below command

$git clone https://github.com/hemanth22/Creating-Empty-file-or-folder.git

To create empty file run create_empty_file.sh

To create empty folder run create_empty-folder.sh

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s