From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,79858e3f3f9e8027,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-01-29 09:05:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!server3.netnews.ja.net!server4.netnews.ja.net!jura.cc.ic.ac.uk!anahata.ma.ic.ac.uk!andy From: andy thomas Newsgroups: comp.unix.tru64 Subject: Renaming corrupted filenames Date: Wed, 29 Jan 2003 16:56:42 +0000 Organization: Imperial College, London, UK Message-ID: Reply-To: andy.thomas@ic.ac.uk NNTP-Posting-Host: anahata.ma.ic.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: jura.cc.ic.ac.uk 1043859403 23016 155.198.192.57 (29 Jan 2003 16:56:43 GMT) X-Complaints-To: usenet@jura.cc.ic.ac.uk NNTP-Posting-Date: 29 Jan 2003 16:56:43 GMT X-X-Sender: andy@anahata.ma.ic.ac.uk Xref: archiver1.google.com comp.unix.tru64:9462 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