BabyCakes13 / BabyCakes13/File-Changed-Trigger-Script

Script does not work with full path files

Open
#2 1 comment 0 reactions 1 assignee Claimed by @BabyCakes13 View on GitHub
bug
Dominant language
Shell
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.