13
edits
(set mepno bug) |
|||
Line 92: | Line 92: | ||
</pre> | </pre> | ||
'''Current filename (removing the path)''' | '''Current filename (removing the path)''' | ||
<pre>set( | <pre>set('path_filename', PATH) | ||
set( | set('path_parts', 1) | ||
for ( | for('i', 1, length(path_filename), if(copy(path_filename, i, 1) = '\', set('path_parts', path_parts+1))) | ||
set( | 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]] |
edits