Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
lcd_manual [2010/06/23 07:33] henri |
lcd_manual [2010/06/23 07:35] henri |
||
---|---|---|---|
Line 44: | Line 44: | ||
It is possible to create scripts which call the 'lcd' command and search though within your backup set(s) for specific files, changes in files or for directly listing changes (eg. renaming of a file, deletion of a file, etc.) | It is possible to create scripts which call the 'lcd' command and search though within your backup set(s) for specific files, changes in files or for directly listing changes (eg. renaming of a file, deletion of a file, etc.) | ||
\\ | \\ | ||
- | In order to use the 'lcd' command from within a script you must be running LBackup 0.9.8r4 or later. In addition, you will need to pass the '-s' flag to the lcd command when invoked within a script. Below there is a basic example script listed along with the scripts output : | + | In order to use the 'lcd' command from within a script you must be running LBackup 0.9.8r4-alpha9 or later. In addition, you will need to pass the '-s' flag to the lcd command when invoked within a script. Below there is a basic example script listed along with the scripts output : |
\\ | \\ | ||
Line 66: | Line 66: | ||
pwd | pwd | ||
- | echo "moving three to an older backup" | + | echo "moving back to an older backup" |
source /usr/local/sbin/lcd -s past | source /usr/local/sbin/lcd -s past | ||
pwd | pwd |