Annotated :: Single Page/Plain :: Text :: Notes | ||
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:
Looks just like that on a UN*X directory listing, for example. But it must be referred to as follows from the shell:
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:
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:
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
|