IIRC, the line terminator for text files on Apple computers used to be
a carriage return.
On unix, it has always been a line feed. I wonder what it is, now
that the OS is based on unix.
I believe that \r is an escape sequence to represent a carriage
return. That might give a clue as to why
On Jan 27, 2010, at 1:05 PM, John Emmerling wrote:
Can't you see this file in the Finder and just drag it to the trash
bin? Since when are Apple computers so command-line intensive?
It was really strange. The \r was a control character that the Finder
would never allow in a file name. Still
On Jan 27, 2010, at 6:04 PM, Wayne Dernoncourt wrote:
Re-reading this, does the filename include the quotes?
No quotes. The file name is Icon\015 or Icon\r or Icon^M without
the quotes depending on how you like to handle escapes.
On Jan 27, 2010, at 11:29 PM, Michael Fernando wrote:
1) move everything else out of that directory.
cd ..
\rm -rf that directory name
The dir was already empty, except this one file.
On Jan 27, 2010, at 11:29 PM, Michael Fernando wrote:
2) I'm not sure if OSX comes with emacs, but I've used
Problem solved.
I mounted the drive on XP. Windows was perfectly fine with blowing
away the whole directory without regard to contents.
So Windows is actually good for something.
*
** List info, subscription
Another option would be to open a terminal.
cd to the direcory where the file resides.
use the rm command and type the first few letters of the filename and press the
tab key to let the shell complete the filename.
If there are multiple similar filenames, you may have to remember to use
These are good suggestions, and OS X does have a built in
emacs, just type in emacs in Terminal. If you haven't used
it before, it is important to remember that you have to type
^x^c (x and c with the control key held down) to exit emacs.
However, sidestepping the more technical unix hacks
(in reference to problem of file having the name Icon\r where \r is
actually a carriage return rather than a backslash followed by a
lower-case r):
What happens if you type ls -al while defaulted to this directory?
On 1/28/10, David K Watson davidkirkwat...@gmail.com wrote:
These are good
I know this isn't Windows, but can you _move_ the file via drag/drop to a
miscellaneous unused flash drive, and then reformat the flash drive to really
kill it?
Think out of the box.
Maybe the OS (or some invidious hacker) really doesn't want you to remove the
file?
Fred Holmes
At 09:22
On Jan 28, 2010, at 1:38 PM, Fred Holmes wrote:
I know this isn't Windows, but can you _move_ the file via drag/drop
to a miscellaneous unused flash drive, and then reformat the flash
drive to really kill it?
Alas, it was not on a flash drive. It was on a server.
This was a great example
On Jan 28, 2010, at 11:20 AM, Paul Cannon wrote:
Another option would be to open a terminal.
cd to the direcory where the file resides.
use the rm command and type the first few letters of the filename
and press the tab key to let the shell complete the filename.
That was the first thing I
On Jan 28, 2010, at 11:47 AM, David K Watson wrote:
To avoid this, in terminal, type
rm -i
I did that too. This was a severe case of one hand not knowing what
the other was doing. rm -i would prompt me for the file, but after I
typed yes if would respond no such file.
I'm stumped. The dear folks from Adobe have produced a file on my Mac
(OS X.5) named Icon\r which I can't delete or rename.
rm -i * does prompt me with the file name, buy when I reply y it
says no such file or directory.
Any suggestions for deletion?
try all the following:
rm -i Icon\\r
rm -i 'Icon\\r'
rm -i Icon\r
rm -i 'Icon\r'
Probably one of them will work.
Hope this helps!
On 1/27/10, tjpa t...@tjpa.com wrote:
I'm stumped. The dear folks from Adobe have produced a file on my Mac
(OS X.5) named Icon\r which I can't delete or rename.
rm Icon\\r
On Wed, Jan 27, 2010 at 09:22:09AM -0500, tjpa wrote:
I'm stumped. The dear folks from Adobe have produced a file on my
Mac (OS X.5) named Icon\r which I can't delete or rename.
rm -i * does prompt me with the file name, buy when I reply y it
says no such file or directory.
On Jan 27, 2010, at 10:03 AM, John Emmerling wrote:
rm -i Icon\\r
rm -i 'Icon\\r'
rm -i Icon\r
rm -i 'Icon\r'
Alas no.
Even the dread rm * fails to conquer.
The backslash is an escape character. The idiots actually have a
control character in the filename.
tjpa
I'm stumped. The dear folks from Adobe have produced a
file on my Mac (OS X.5) named Icon\r which I can't
delete or rename.
rm -i * does prompt me with the file name, buy when I
reply y it says no such file or directory.
Any suggestions for deletion?
Re-reading this, does the
tjpa
On Jan 27, 2010, at 10:03 AM, John Emmerling wrote:
rm -i Icon\\r
rm -i 'Icon\\r'
rm -i Icon\r
rm -i 'Icon\r'
Maybe rm -if ./Ico*
You may have to drop the i part and wipe out Icoa, Icob, etc.
I thought there was an option to delete by the inode, but I
don't see it mentioned on the man
rm -i Icon\\r
rm -i 'Icon\\r'
rm -i Icon\r
rm -i 'Icon\r'
Alas no.
Even the dread rm * fails to conquer.
A couple of ideas:
1) move everything else out of that directory.
cd ..
\rm -rf that directory name
2) I'm not sure if OSX comes with emacs, but I've used emacs' directory
19 matches
Mail list logo