Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Script does not work with full path files

Open
#2 1 comment 0 reactions 1 assignee View on GitHub

@BabyCakes13 is already working on this.

Since May 6, 2020.

Assessment

This issue has not been assessed yet.

Description

bug

Something like the following
./watch.sh ~/path/to/directory ~/path/to/directory/file

won't work, because in the script I check whether the second argument is exactly the file name. Which isn't true all the time, since I would usually give the full path of the file rather than just the name. The file name should be extracted and compared.

Dominant language
Shell
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BabyCakes13/File-Changed-Trigger-Script

All issues in BabyCakes13/File-Changed-Trigger-Script

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.