Cedric-M / bash-scripting

Contain various bash script made during my free time, that could be used by anyone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bash-scripting

Contain various bash script that could be used by anyone. They are made in my free time.

List of all files contained in this repo:

  • create_file.sh: This script create any file (odt, docx, pptx..) from a large collection depending on the user's needs. It uses a free and open-source document converter called Pandoc.
  • empty_folder.sh: This script will ask the name of the folder you want to empty, then erase all the data it may contain and check if it has successfully been emptied.

Prerequisites

In order to execute any script, you should give it permission:

chmod +x /path/to/yourscript.sh

To run your script:

/path/to/yourscript.sh

Since . refers to the current directory: if yourscript.sh is in the current directory, you can simplify this to:

./yourscript.sh

Preview

Preview of empty_folder.sh:

image

Preview of create_file.sh:

(Preview not available yet, it will be updated soon)

Built With

  • Pandoc - Open-source document converter.

Versioning

I use GitHub for versioning.

Authors

About

Contain various bash script made during my free time, that could be used by anyone.


Languages

Language:Shell 100.0%