Skip to content

Commit

Permalink
Merge pull request #2 from wevtoolbox/update-name
Browse files Browse the repository at this point in the history
Updated name, README and LICENSE
  • Loading branch information
BoGnY authored May 13, 2024
2 parents 881e4fd + 1ea63e3 commit f9ce58b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
6 changes: 4 additions & 2 deletions LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
MIT License
# MIT License

Copyright (c) 2017 cytopia
**Copyright (c) 2017 [cytopia](https://github.com/cytopia)**

**Copyright (c) 2024 [bogny](https://github.com/bogny)**

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,10 @@ Misc arguments:
--version Show version information.
```

### License
## 📄 License

**[MIT License](LICENSE)**
**[MIT License](LICENSE.md)**

Copyright (c) 2017 [cytopia](https://github.com/cytopia)
Copyright (c) 2017 **[cytopia](https://github.com/cytopia)**

Copyright (c) 2024 **[bogny](https://github.com/bogny)**
16 changes: 9 additions & 7 deletions bin/watcherd
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# Copyright (c) 2017 cytopia
#
# Copyright (c) 2024 bogny
#

############################################################
# Settings
Expand All @@ -25,11 +27,11 @@ IFS=$'\n'

# Versioning
MY_NAME="watcherd"
MY_DATE="2023-03-01"
MY_URL="https://github.com/devilbox/watcherd"
MY_AUTHOR="cytopia <cytopia@everythingcli.org>"
MY_GPGKEY="0xA02C56F0"
MY_VERSION="1.1.0"
MY_DATE="2024-05-13"
MY_URL="https://github.com/wevtoolbox/watcherd"
MY_AUTHOR="wevtoolbox <wevtoolbox@gmail.com>"
MY_GPGKEY="0x41A7F228"
MY_VERSION="1.1.1"
MY_LICENSE="MIT"

# Default settings
Expand Down Expand Up @@ -98,13 +100,13 @@ function print_help() {
printf "Note, the trigger command will only be execute when at least one add or delete command has succeeded with exit code 0."
printf "\\n"
printf "\\nRequired arguments:\\n"
printf " -p <path> %s\\n" "Path to directoy to watch for changes."
printf " -p <path> %s\\n" "Path to directory to watch for changes."
printf " -a <cmd> %s\\n" "Command to execute when a directory was added."
printf " %s\\n" "You can also append the following placeholders to your command string:"
printf " %s\\n" "%p The full path of the directory that changed (added, deleted)."
printf " %s\\n" "%n The name of the directory that changed (added, deleted)."
printf " %s\\n" "Example: -a \"script.sh -f %p -c %n -a %p\""
printf " -d <cmd> %s\\n" "Command to execute when a directory was deletd."
printf " -d <cmd> %s\\n" "Command to execute when a directory was deleted."
printf " %s\\n" "You can also append the following placeholders to your command string:"
printf " %s\\n" "%p The full path of the directory that changed (added, deleted)."
printf " %s\\n" "%n The name of the directory that changed (added, deleted)."
Expand Down

0 comments on commit f9ce58b

Please sign in to comment.