Skip to content

A script that extracts all files with the .txt extension and renames them with the TXT_RENAME_PREFIX if exists as a local variable.

Notifications You must be signed in to change notification settings

sebadp/bash-scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Bash-scripting

Extracts all files with the .txt extension and renames them with the TXT_RENAME_PREFIX if exists as a local variable.

If not, it uses the default value = "RN_"

Here an example:

Prueba3_a

Another example with the TXT_RENAME_PREFIX variable set.

Prueba3_b

Execution:

You need to open your terminal and type:

$ bash <File_name> <Direction_to_be_altered>

About

A script that extracts all files with the .txt extension and renames them with the TXT_RENAME_PREFIX if exists as a local variable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages