On May 14 20:47:46, Ryan Flannery wrote:
> I've been in similar situations countless times, but this one is
> throwing me a for a loop.
>
> I have a file that I'm trying to remove with non-printable characters
> in the name. Additionally, some of the characters appear to be
> backspace/delete/etc
2009/5/15 Ryan Flannery :
> tarski> rm `ls | grep E`
> ~,u?} w=R1 T)U7r 5\4gm(_EW]W-sn^[[?1;2c: No such file or directory
> B B B B B B B B B Ec?J9 K%Mx/!...@s S,W7g?5
> 0,z: No such file or directory B B B B B B
M}OWDt?Yw?rB~[*6t?0h|7 tarski>
True, I had checked it using the shell t
why can't you use ls -i, find the inode, and do find . -inum INODENUM
-exec rm {} \;
is it a list of file that you want to remove put all the files in a
text file and do a for loop.
HTH!
Prabhu
-
On May 14, 2009, at 5:47 PM, Ryan Flannery wrote:
I've been in similar situations countles
On May 14, 2009, at 9:15 PM, Ryan Flannery wrote:
On Thu, May 14, 2009 at 10:53 PM, Jordi Beltran Creix
wrote:
rm `ls | grep E` would delete that file leaving others alone.
Regards,
Just for the list...
I had tried that incantation, and others involving grep, and they
all failed.
Outpu
Ryan Flannery wrote:
> On Thu, May 14, 2009 at 11:42 PM, Tony Abernethy
> wrote:
> > Ryan Flannery wrote:
> >> On Thu, May 14, 2009 at 10:53 PM, Jordi Beltran Creix
> >> wrote:
> >> > rm `ls | grep E` would delete that file leaving others alone.
> >> >
> >> > Regards,
> >> >
> >>
> >> Just for t
On Fri, May 15, 2009 at 12:07 AM, Chris Kuethe wrote:
> cd /usr
> mkdir .save
> mv [A-Za-z]* .save
> rm *
> mv .save/* .
>
Son of a #...@!^%
Yes, that would have been *far* simpler/easier/quicker, and would have worked.
*That's* the clue-stick I was looking for.
Many Thanks
On Thu, May 14, 2009 at 11:42 PM, Tony Abernethy wrote:
> Ryan Flannery wrote:
>> On Thu, May 14, 2009 at 10:53 PM, Jordi Beltran Creix
>> wrote:
>> > rm `ls | grep E` would delete that file leaving others alone.
>> >
>> > Regards,
>> >
>>
>> Just for the list...
>> I had tried that incantation,
Ryan Flannery wrote:
> On Thu, May 14, 2009 at 10:53 PM, Jordi Beltran Creix
> wrote:
> > rm `ls | grep E` would delete that file leaving others alone.
> >
> > Regards,
> >
>
> Just for the list...
> I had tried that incantation, and others involving grep, and
> they all failed.
>
> Output (I just
On Thu, May 14, 2009 at 10:53 PM, Jordi Beltran Creix
wrote:
> rm `ls | grep E` would delete that file leaving others alone.
>
> Regards,
>
Just for the list...
I had tried that incantation, and others involving grep, and they all failed.
Output (I just reproduced the file) from your example is:
rm `ls | grep E` would delete that file leaving others alone.
Regards,
On Thu, May 14, 2009 at 9:48 PM, Ryan Flannery
wrote:
> On Thu, May 14, 2009 at 9:28 PM, Matthew Clarke wrote:
>> Thu, May 14, 2009 at 08:47:46PM -0400, Ryan Flannery may have written:
>>
>>> I've been in similar situations countless times, but this one is
>>> throwing me a for a loop.
>>>
>>> I
On Thu, May 14, 2009 at 9:28 PM, Matthew Clarke wrote:
> Thu, May 14, 2009 at 08:47:46PM -0400, Ryan Flannery may have written:
>
>> I've been in similar situations countless times, but this one is
>> throwing me a for a loop.
>>
>> I have a file that I'm trying to remove with non-printable charac
Thu, May 14, 2009 at 08:47:46PM -0400, Ryan Flannery may have written:
> I've been in similar situations countless times, but this one is
> throwing me a for a loop.
>
> I have a file that I'm trying to remove with non-printable characters
> in the name. Additionally, some of the characters appe
On Thu, May 14, 2009 at 9:10 PM, Philip Guenther wrote:
> On Thu, May 14, 2009 at 5:47 PM, Ryan Flannery
wrote:
> ...
>> I can get the inode of the file with ls(1), and used that to write the
>> following program which I thought would help, but sadly it too fails.
> ...
>> /* open directory */
On Thu, May 14, 2009 at 5:47 PM, Ryan Flannery
wrote:
...
> I can get the inode of the file with ls(1), and used that to write the
> following program which I thought would help, but sadly it too fails.
...
> /* open directory */
> DIR *usr;
> if ((usr = opendir("/usr")) == NULL)
> err(
I've been in similar situations countless times, but this one is
throwing me a for a loop.
I have a file that I'm trying to remove with non-printable characters
in the name. Additionally, some of the characters appear to be
backspace/delete/etc.
All my normal tricks with rm(1) fail.
Using vim on
16 matches
Mail list logo