From: "Adam Price" <adam+usenet@pappnase.co.uk>
Subject: Re: Renaming corrupted filenames
Date: Thu, 30 Jan 2003 05:50:09 -0000 [thread overview]
Message-ID: <b1aecq$11cd83$1@ID-138239.news.dfncis.de> (raw)
In-Reply-To: Pine.LNX.4.44.0301291650160.7100-100000@anahata.ma.ic.ac.uk
In news:Pine.LNX.4.44.0301291650160.7100-100000@anahata.ma.ic.ac.uk,
andy thomas <andy@ic.ac.uk> typed:
> We have a server running DU 4.0D and samba 2.2.7 which among other
> things is a fileserver for a number of Windows NT/2000/XP PC clients.
> From time to time, a user complains about strange files apearing in
> his/her home directory and the ls command list these as the filename
> '?'. Using the -b option to ls gives the octal equivalent of these
> files with non-printable names, etc \201, \214, etc. But how can I
> use these octal file pointers as an argument to the mv command? I'd
> like to be able to type something like:
>
> mv '\201' recovered_file.1
>
> Does anyone have any ideas?
>
> thanks in advance for any help,
>
> Andy
Some ways include...
removing them from the windows end.
Using wildcards in place of the odd
characters (eg where it says \214 you put ?)
Moving the rest of the files out and then removing the dir.
using rm -i * and saying yes only to the ones you want to delete.
Using a gui tool like dired mode or the file explorer.
HTH
Adam Price
prev parent reply other threads:[~2003-01-30 5:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-29 16:56 Renaming corrupted filenames andy thomas
2003-01-29 18:35 ` Joe Chung
2003-01-31 10:31 ` andy thomas
2003-01-30 5:50 ` Adam Price [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox