[CentOS] Re: Moving folder just vanished??

Mon Sep 29 15:54:23 UTC 2008
Filipe Brandenburger <filbranden at gmail.com>

Hi,

On Sun, Sep 28, 2008 at 10:54, Stewart Williams <lists at pinkyboots.co.uk> wrote:
> $ find / -iname "*.jpg" -or "*.JPG"

This syntax is invalid, this is what I get under CentOS 5:

# find / -iname "*.jpg" -or "*.JPG"
find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]

What you probably meant is find / -iname "*.jpg" -or -iname "*.JPG",
but as it was already pointed out, -iname is case-insensitive, so all
you need is:
# find / -iname "*.jpg"

If you used the wrong command, maybe run it again?

> unless it's a bug with fuse-encfs.

If you are using ext3 over fuse-encfs, if there is a problem with
fuse-encfs it would bork your ext3 filesystem, but probably the end
result would be a corrupted and unusable filesystem, not one with
files missing. In any case, you might try to unmount it and run fsck
over it to see if there is something wrong with it. If the filesystem
got corrupted, by running fsck it might be able to find the missing
files and save them under lost+found, it's a long shot, but if you
tried everything else it might be worth trying.

HTH,
Filipe