mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-06 09:43:16 +02:00
11 lines
306 B
Bash
11 lines
306 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
while getopts ":h" option; do
|
||
|
|
echo "This script modifies file names"
|
||
|
|
echo "-l lowerize file names"
|
||
|
|
echo "-u uppercase file names"
|
||
|
|
echo "-r recurse into directory"
|
||
|
|
echo "[-r] <sed pattern> specify sed pattern that will be executed on file names"
|
||
|
|
echo "-h show this help information"
|
||
|
|
done
|