[CentOS] Re: Moving folder just vanished??

Bart Schaefer barton.schaefer at gmail.com
Sun Sep 28 22:47:42 UTC 2008


On Sun, Sep 28, 2008 at 1:50 PM, William L. Maltby
<CentOS4Bill at triad.rr.com> wrote:
>
> On Sun, 2008-09-28 at 15:54 +0100, Stewart Williams wrote:
>> $ find / -iname "*.jpg" -or "*.JPG"
>
> Minor points that probably have no effect unless there's a *.jpg file in
> the current directory: use single, not double quotes, to avoid shell
> expansion.

Not directly relevant to the subject of the thread, but double quotes
are fine here.  The only difference between single and double quotes
is that shell variable references are expanded in the double quotes
but not the single quotes.  Glob patterns, whitespace, command
separators, etc. are quoted in both cases.

On the original topic ... have you checked in /var/log for log file
entries that might provide a clue to what happened?

It might be possible to recover the lost files from the ext3 journal:

http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html


More information about the CentOS mailing list