Accidentally moved all directories under / to the same directory
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I ran:
for file in /*; do mv "$file" old; done
,
forgetting to put the .
before /*
.
I read that open processes might have the inode stored somewhere. Is it possible to recover my directory structure?
The file explorer is still open, and I am still able to traverse directories.
files mv
add a comment |Â
up vote
0
down vote
favorite
I ran:
for file in /*; do mv "$file" old; done
,
forgetting to put the .
before /*
.
I read that open processes might have the inode stored somewhere. Is it possible to recover my directory structure?
The file explorer is still open, and I am still able to traverse directories.
files mv
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I ran:
for file in /*; do mv "$file" old; done
,
forgetting to put the .
before /*
.
I read that open processes might have the inode stored somewhere. Is it possible to recover my directory structure?
The file explorer is still open, and I am still able to traverse directories.
files mv
I ran:
for file in /*; do mv "$file" old; done
,
forgetting to put the .
before /*
.
I read that open processes might have the inode stored somewhere. Is it possible to recover my directory structure?
The file explorer is still open, and I am still able to traverse directories.
files mv
edited Nov 18 '17 at 23:18
Jeff Schaller
32.1k849109
32.1k849109
asked Nov 18 '17 at 22:37
user261205
11
11
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
I was able to use the file explorer to copy the old/
in my current directory to /bin
. Since the terminal commands failed to run after /bin
had moved, I was still able to use the open program in /usr/bin
to recover.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I was able to use the file explorer to copy the old/
in my current directory to /bin
. Since the terminal commands failed to run after /bin
had moved, I was still able to use the open program in /usr/bin
to recover.
add a comment |Â
up vote
0
down vote
I was able to use the file explorer to copy the old/
in my current directory to /bin
. Since the terminal commands failed to run after /bin
had moved, I was still able to use the open program in /usr/bin
to recover.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I was able to use the file explorer to copy the old/
in my current directory to /bin
. Since the terminal commands failed to run after /bin
had moved, I was still able to use the open program in /usr/bin
to recover.
I was able to use the file explorer to copy the old/
in my current directory to /bin
. Since the terminal commands failed to run after /bin
had moved, I was still able to use the open program in /usr/bin
to recover.
answered Nov 18 '17 at 23:03
user261205
11
11
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405499%2faccidentally-moved-all-directories-under-to-the-same-directory%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password