Re: Problems with amrecover and file path
Christoffer Dahl Petersen wrote: Now I have a poster hanging above my desk saying: "Man of the day: Paul Bijnens" :-) :-) I tried your "workaround nr. 1", but it didnt work, but it gave me a Strange, "it works when I do it". I just tried: amrecover> ls 2003-07-24 . 2003-07-14 help/ 2003-07-24 newfile 2003-07-24 space dir1/ 2003-07-24 space dir2/ 2003-07-24 subdir1/ amrecover> cd space*dir1 /home/paul/tmp/dirs/dir3/space dir1 Maybe an older version? There are some more bugs in amrecover: amrecover> cd .. /home/paul/tmp/dirs/dir3 amrecover> cd help Invalid command - parse error You can't address a file or directory named "help". Keywords are reserved in the yacc grammar. But quotes around the keywords help in this case too: amrecover> cd "help" /home/paul/tmp/dirs/dir3/help amrecover> clue, here is the workaround: setdisk /home/files cd " MAGS" So why I can't use: setdisk "/home/files/ MAGS" is strange, but most important; it works!! You can't use "setdisk" in this case because is is not a DiskListEntry. The command "listdisk" gives a list of the entries possible for "setdisk" (in a recent version). After choosing the DLE with "setdisk" you have to navigate further with "cd" or "cdx". -- Paul @ Home
Re: Problems with amrecover and file path
tir, 2003-10-14 kl. 15:34 skrev Paul Bijnens: Workaround: setdisk /home/files (or whatever your DLE is named) cd *MAGS (or "??MAGS": use a wildcard as args to cd) Workaround nr 2: amrestore -p ... | tar -xvf - './ MAGS/some/file' (While panicking, it is maybe wiser to restore into a temporary empty directory to avoid overwriting critical files.) Hi Paul! Now I have a poster hanging above my desk saying: "Man of the day: Paul Bijnens" I tried your "workaround nr. 1", but it didnt work, but it gave me a clue, here is the workaround: setdisk /home/files cd " MAGS" So why I can't use: setdisk "/home/files/ MAGS" is strange, but most important; it works!! So thanks again!!! - Christoffer <>
Re: Problems with amrecover and file path
Christoffer Dahl Petersen wrote: I should recover some files from a directory, but I can't get into the directory. The path is: /home/files/\ \ MAGS/ or "/home/files/ MAGS/", here is what I do: #amrecover daily amrecover> setdisk /home/files/\ \ MAGS Mount point "\" invalid - must start with / Invalid command - parse error amrecover> How can I do that - PLEASE HELP - I'm about to be killed by my boss First don't panic. Being killed by your boss is not that bad as it sounds :-) Then, yes indeed, amrecover has trouble with spaces (or other strange chars in the name). You're also confusing DLE names (setdisk) and subdirectories. Workaround: setdisk /home/files (or whatever your DLE is named) cd *MAGS(or "??MAGS": use a wildcard as args to cd) Workaround nr 2: amrestore -p ... | tar -xvf - './ MAGS/some/file' (While panicking, it is maybe wiser to restore into a temporary empty directory to avoid overwriting critical files.) -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... "Are you sure?" ... YES ... Phew ... I'm out * ***
Problems with amrecover and file path
Hi! I should recover some files from a directory, but I can't get into the directory. The path is: /home/files/\ \ MAGS/ or "/home/files/ MAGS/", here is what I do: #amrecover daily amrecover> setdisk /home/files/\ \ MAGS Mount point "\" invalid - must start with / Invalid command - parse error amrecover> How can I do that - PLEASE HELP - I'm about to be killed by my boss Regards, Christoffer <>