AniDB O'Matic - Documentation: Local file renaming: Difference between revisions

Jump to navigation Jump to search
(→‎Sample patters: link to more complex samples)
Line 81: Line 81:
if(length(crc)>0, set('crc', '('+uc(crc)+')')
if(length(crc)>0, set('crc', '('+uc(crc)+')')
</pre>
</pre>
'''Current filename (removing the path)'''
<pre>set(`path_filename`, PATH)
set(`path_parts`, 1)
for (`i`, 1, length(path_filename), if(copy(path_filename, i, 1) = `\`, set(`path_parts`, path_parts+1)))
set(`path_filename`, split(path_filename, `\`, path_parts))</pre>
===Complex samples===
===Complex samples===
See [[AniDB O'Matic - Documentation: Local file renaming - Samples | the article with samples]]
See [[AniDB O'Matic - Documentation: Local file renaming - Samples | the article with samples]]
254

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.