bad move :\
Page 1 of 1

Author:  afflictedd2 [ Sun May 09, 2010 4:55 pm ]
Post subject:  bad move :\

Oh crap, I just made a mistake

I created this script to move all scripts to a place.

find . -name '*.sh' -print -exec mv '{}' ~/bashscripts \;

I wanted it to put them in a directory called bash-scripts.
but instead it created a file named bash-scripts.. and I don't know
how to change this file to a directory in order to see them.

Any help appreciated,


Author:  TheBonsai [ Sun May 09, 2010 5:10 pm ]
Post subject:  Re: bad move :\

Restore your most recent backup.

Author:  DarthWavy [ Mon May 10, 2010 4:20 am ]
Post subject:  Re: bad move :\

From what i can see all the files were moved to the same filename so all of them except the last one are gone...

It's likely that restore from backup is your only option, you do have a backup of course +:)

Author:  fredrik.eriksson [ Mon May 10, 2010 5:13 am ]
Post subject:  Re: bad move :\

Ofc, everybody backup their stuff *whistle, eye-roll and so on* :-/

Author:  afflictedd2 [ Mon May 10, 2010 8:16 pm ]
Post subject:  Re: bad move :\

Oh Well.. at least nothing important was in those bashscripts.

Page 1 of 1 All times are UTC - 6 hours
© 2000, 2002, 2005, 2007 phpBB Group •