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, Xplanation Tel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +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 * ***********************************************************************




Reply via email to