abma.d
unofficial abma/aba faq
Annotated :: Single Page/Plain :: Text :: Notes

1. Preface
2. Introduction
3. Newsgroups
4. Encoding
     a. uu
     b. mime
     c. yEnc
5. Archives
     a. .rar/.r##/.part##.rar
     b. RAR recovery
     c. .ace/.c##
     d. .###
     e. .zip
6. Support Files
     a. .sfv
     b. .par/.p##
     c. .rev
     d. .idx/.sub/.ifo
     e. .smi/.ssa/.srt
     f. .nfo/.txt/.md5
7. Newsreaders
8. Posting
     a. Bad Requests
9. Auto-Posters
10. Hentai
11. Formats/codecs
     a. avi/ogm
     b. mpeg4
     c. mpg
     d. rm
     e. audio
     f. linux
12. News servers
13. Software
14. Appendices
     a. About the FAQ
     b. Mirroring the FAQ

The new home of the FAQ is http://animeusenet.org/wiki/.

This site exists only for historical/archival purposes.

14. Appendices

Batch file for deleting trailing underscore: [inc]

Here's what the bat I have used for quite awhile. Note, it is pointing to the directory where Agent puts the anime parts I dl - change to suit yourself:

DEL_UNDL.BAT


        c:
        cd \media\anime
        ren *.???_ *.???

If you want to go to different directories it would be easy enough to change the path to a parameter ( %1 ) that you could pass within the Shortcut, one for each directory you use.

The only bug is if you try to rename to an already existing name, the bat aborts entirely.

Also, the whole thing can be one statement if you prefer (and with the variable):

        ren  c:\media\anime\*.???_ *.???

or

        ren  %1\*.???_ *.???

called like:

        DEL_UNDL. c:\media\anime

Files rename under *nix [Astrogeek]

Most MS Windows users take for granted the GUI's ability to easily deal with any kind of file name. Basically, what you see on the screen doesn't really matter as long as you know what it is... click-click, done. However, when posting to any forum in which interaction with other operating systems is a possibility, the use of more standard filenames should be considered. For example:

[Anime Group] Kewl Anime.rar

Looks just like that on a UN*X directory listing, for example. But it must be referred to as follows from the shell:

user@puter:/animeDL$ \[Anime\ Group\]\ Kewl\ Anime.rar

Not pretty, and definitely not easy to type quickly in a shell without TAB completion. In addition, when attempting to uncompress these files, the following error results:

user@puter:/animeDL$ unrar e \[Anime\ Group\]\ Kewl\ Anime.rar UNRAR 2.50 freeware Copyright (c) 1993-99 Eugene Roshal No files to extract user@puter:/animeDL$ _

In my experience, filenames with brackets, braces, non-English characters, and funky stuff in general do not work with the command line unrar utility. Since RAR is the compression format used in alt.binaries.*.anime, and the command line unrar utility is the only native method for unarchiving these files under Linux/UN*X AFAIK...you get the idea. These files must be renamed to be used.

To summarize:

  • [K-Rad Gruppe] Killer Anime.rar = YUCK
  • K-Rad Gruppe Killer Anime.rar = *COUGH* (but it works)
  • KRG_KillerAnime.rar = better
  • krg_killeranime.rar = even better (if you're super nice :-))
  • krgkanim.rar = 8.3 format, the best compatability. Any OS that _requires_ this format probably cannot view your files anyway...this may be redundant.

Filenames _within_ the RAR files are another issue. I have not yet run into problems with any software besides unrar. However, if you want to be nice, it probably wouldn't kill anybody if you used a clean filename.

Windows and Linux/UN*X users CAN get along if we just try a little bit :-) (PLUG) Please use DivX ;-) and not patented MS codecs! (END_PLUG)


User Contributed Notes

tuxedobob
2004-03-29 09:39am
I wouldn't worry too much about renaming files under *nix. If you have a decent shell (set up properly) auto-complete should make it fairly easy to unrar your files. (BTW, most Mac users take for granted being able to put almost any character in the filename, including '?'.)