This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| #Local incremental backup of Windows' drives with RSync via Cygwin. | |
| #Run like ./backup.sh cat_pictures_drive d g | |
| #where d is the drive containing cat pictures | |
| #and g is the destination of the backup. | |
| #Backups will be made on g like G:\cat_pictures_drive_backup\backup-YY-MM... | |
| #high-level description of the content we're backing up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/broad/software/free/Linux/redhat_5_x86_64/pkgs/r_3.0.2/bin/Rscript | |
| # Eric Vallabh Minikel | |
| # CureFFI.org | |
| # 2014-01-14 | |
| # example of how to use optparse in R scripts | |
| # usage: ./exampleRScript1.r -a thisisa -b hiagain | |
| # ./exampleRScript1.r --avar thisisa --bvar hiagain |