Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ." Manpage for myprog.
- ." Contact myprog@ya.ru to thanks
- .TH man 1 "20 March 2018" "1.0" "myprog man page"
- .SH NAME
- myprog - Watch for directories, file or url change
- .SH SYNOPSIS
- myprog [user]
- .SH DESCRIPTION
- Any watch for file changes into directories , file(s), or url.
- myprog is beautiful
- First parameter can be empty, it will then watch for any changes into the current directory.
- First parameter can also be a file, a file path, an url, or a directory.
- First parameter [empty] Log current directory changes.
- [file] Look in file.
- [path] Check the specified path.
- [url] Watch for changes in web page.
- Second parameter [change] watch for a directory, non recursive.
- [rchange] watch for a directory, recursive.
- Third parameter [log] Print time change and files differences.
- [logtext] Parse html to display text changes only.
- [exec] Execute bash command at change event.
- [reload] Followed by browser name, reload tab.
- [inject] Append javascript to the current browser tab.
- [mail] Send mail at event.
- Example of usage:
- myprog change exec ls
- myprog rchange exec ls
- myprog change exec 'ls&&top -n 1'
- myprog change exec <<EOF
- cat myscript.js | myprog change inject firefox
- myprog change inject firefox <<< 'alert("xss!")'
- .SH OPTIONS
- myprog [url|file|(empty=folder)]
- [change|rchange]
- will [log|logtext|exec|reload|inject]
- [browser|command|setup|history]
- .SH SEE ALSO
- inotify(7) my_otherprog
- .SH BUGS
- Mail function is off.
- .SH AUTHOR
- MYPROG myprog@ya.ru
- 1 User Commands
- 2 System Calls
- 3 C Library Functions
- 4 Devices and Special Files
- 5 File Formats and Conventions
- 6 Games et. al.
- 7 Miscellanea
- 8 System Administration tools and Daemons
- sudo cp myprog.1 /usr/local/share/man/man1/
- sudo mandb
- man myprog
Add Comment
Please, Sign In to add comment