From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,79858e3f3f9e8027 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-01-29 21:49:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!pc3-rdng3-3-cust212.winn.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: Renaming corrupted filenames Date: Thu, 30 Jan 2003 05:50:09 -0000 Message-ID: References: NNTP-Posting-Host: pc3-rdng3-3-cust212.winn.cable.ntl.com (80.5.159.212) X-Trace: fu-berlin.de 1043905754 35009795 80.5.159.212 (16 [138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1123 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1123 Xref: archiver1.google.com comp.unix.tru64:9469 In news:Pine.LNX.4.44.0301291650160.7100-100000@anahata.ma.ic.ac.uk, andy thomas 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