[vox-tech] Removing Files

Mark K. Kim vox-tech@lists.lugod.org
Thu, 20 May 2004 00:24:57 -0700 (PDT)


Try:

   1. `rm -i *.avi` (it'll ask you if you wanna delete each file)

   2. Removing the file from a graphical program
      (Konqueror, Nautilus, etc.)

   3. Try #1 and #2 with charset set to UTF-8
      (`export LC_ALL=3Den_US.UTF-8` under BASH)

-Mark


On Wed, 19 May 2004, Daniel Hurt wrote:

>
>
> Ryan wrote:
> > On Wednesday 19 May 2004 11:26 pm, Daniel Hurt dwhurt-at-ucdavis.edu |l=
ugod|
> > wrote:
> >
> >>>I have a question regarding deletion of files.  In the conversion of m=
y
> >>>files from my windows to Linux, I had some files that had special
> >>>characters in them.  They copied to the Linux file system, but now I
> >>>cannot access them to modify them.  I was curious about how to go abou=
t
> >>>removing these files:
> >>>
> >>>ls: ./Evil Dead 3 - Army of Darkness (Director=B4s Cut).avi: No such f=
ile
> >>>or directory
> >
> > rm 'Evil Dead 3 - Army of Darkness (Director=B4s Cut).avi'
> > would work. so would
> > rm 'Evil\ Dead\ 3\ -\ Army\ of\ Darkness\ Director\=B4s\ Cut\).avi
> >
> > But quoting is usualy easier. Or use tab-compleation... that will escap=
e for
> > you.
>
> Thanks I tried that already :-)  But still not working.  Here are some
> examples of the commands that I tried.  I even tried installing a GUI
> file browser to see if it could see the files but no luck there.
>
> --- Tab Completion:
> $ rm Evil\ Dead\ 3\ -\ Army\ of\ Darkness\ \(Director=B4s\ Cut\).avi
> rm: cannot remove `Evil Dead 3 - Army of Darkness (Director\264s
> Cut).avi': No such file or directory
>
> --- Different Quote Tests:
> $ rm 'Evil Dead 3 - Army of Darkness (Director`s Cut).avi'
> rm: cannot remove `Evil Dead 3 - Army of Darkness (Director`s Cut).avi':
> No such file or directory
>
> $ rm "Evil Dead 3 - Army of Darkness (Director's Cut).avi"
> rm: cannot remove `Evil Dead 3 - Army of Darkness (Director\'s
> Cut).avi': No such file or directory
>
> $ rm "Evil Dead 3 - Army of Darkness (Director=B4s Cut).avi"
> rm: cannot remove `Evil Dead 3 - Army of Darkness (Director\264s
> Cut).avi': No such file or directory
>
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>

--=20
Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.jsp?id=3D13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E  5167 6822 94F0 F298 5DCE
PGP key available on the homepage