Codebase list extundelete / b741130
Updating output dir patch. Christophe Monniez 11 years ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
22 instead default directory ./RESTORE_FILES
33 Forwarded: yes
44 Author: Elías Alejandro Año Mendoza <ealmdz@gmail.com>
5 Last-Update: 2010-10-25
5 Last-Update: 2012-12-13
66
77 ===================================================================
8 --- extundelete.orig/src/extundelete.cc 2010-10-25 11:50:25.000000000 -0500
9 +++ extundelete/src/extundelete.cc 2010-10-25 12:01:12.000000000 -0500
10 @@ -466,6 +466,8 @@
8 --- a/src/cli.cc
9 +++ b/src/cli.cc
10 @@ -120,6 +120,8 @@
1111 os << " --restore-files 'path' Will restore files which are listed in the file 'path'.\n";
1212 os << " Each filename should be in the same format as an option\n";
1313 os << " to --restore-file, and there should be one per line.\n";
1616 os << " --restore-all Attempts to restore everything.\n";
1717 os << " -j journal Reads an external journal from the named file.\n";
1818 os << " -b blocknumber Uses the backup superblock at blocknumber when opening\n";
19 @@ -601,6 +603,7 @@
19 @@ -422,6 +424,7 @@
2020 opt_show_journal_inodes,
2121 opt_restore_file,
2222 opt_restore_files,
2424 opt_restore_directory,
2525 opt_restore_inode,
2626 opt_restore_all,
27 @@ -626,6 +629,7 @@
27 @@ -445,6 +448,7 @@
2828 {"restore-inode", 1, &long_option, opt_restore_inode},
2929 {"restore-file", 1, &long_option, opt_restore_file},
3030 {"restore-files", 1, &long_option, opt_restore_files},
3131 + {"output-dir", 1, &long_option, opt_output_dir},
3232 {"restore-directory", 1, &long_option, opt_restore_directory},
3333 {"restore-all", 0, &long_option, opt_restore_all},
34 {"show-hardlinks", 0, &long_option, opt_show_hardlinks},
35 @@ -688,6 +692,21 @@
34 {"log", 1, &long_option, opt_log},
35 @@ -497,6 +501,21 @@
3636 case opt_restore_files:
3737 commandline_restore_files = optarg;
3838 break;