11## [ SCS]  Source Control Sentry<br > 
2- Backup/Restore files.<br >
3- Run actions on any change in a directory.<br >
2+ Backup/Restore files. Watch for recursive content,ownerships and rights changes.<br >
43Create hard copies and display file diffs.<br >
5- Verify content, ownserships and rights.<br >
6- Can execute one -or more- commands, or reload a browser tab, at a file change.<br >
4+ Optionally execute one -or more- commands, reload a browser tab, at a file change.<br >
75Restore files on demand.<br >
8- Automatize dev flow. Example, run a test script, or compile at a file change.<br >
9- Recursive to the whole directory tree.<br >
10- Backup all files versions, keeping the flow by timestamp.<br >
11- Exclude git hidden files. Works well on top of git. Exclude nohup.out as well.<br >
6+ 7+ <img  src =" https://raw.githubusercontent.com/webdev23/source_control_sentry/master/scs.png " >SCS</img >
8+ 9+ Automatize your dev flow. Example, run a test script, or compile at a file change.<br >
10+ Backup all files versions, while keeping an eye on the flow. No more code lost with CTRL+Z<br >
11+ Exclude hidden git files. Works well on top of git. Exclude nohup.out as well.<br >
1212Can inject some javascript into a browser console tab, at a file change.<br >
1313
14- By default, without parameters, starts to watch the current directory.
15- Display diffs at a file change.
14+ By default, without parameters, the program starts to watch the current directory.
15+ And display file diffs at a change.
16+ 1617
1718### PARAMS:  
1819<pre >
@@ -31,19 +32,17 @@ Display diffs at a file change.
3132### Browse historic and restore files  
3233
3334Browse current DIR historic and restore files.
34- Those are all changes made in the current DIR, by date, while the current program was running
35- -b --browse
35+ Those are all changes made in the current DIR, by date, while the current program was running.
3636
37- ### Examples:  
37+  scs -b --browse 
38+ 39+ #### Examples:  
3840
3941### Reload focused tabs of many browsers  
40- -r firefox -r chromium
42+ scs  -r firefox -r chromium
4143
4244### Run commands  
43-  ./dev  -r firefox -e "ls -ltrapR"
45+  scs  -r firefox -e "ls -ltrapR"
4446
4547### Inject alert("xss") in the currently focused Firefox tab  
46-  -x script.js
47- 48-  Can be used on top of any text editor CTR+Z + Fat fingers = lost code
49- 48+  scs -x script.js 
0 commit comments