DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mediarename

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:mediarename [2009-12-27 23:59] 86.59.89.192plugin:mediarename [2022-06-18 15:02] (current) 77.28.89.8
Line 1: Line 1:
-====== mediarename plugin ====== +Not working anymore.
- +
----- plugin ---- +
-description: Add a quicklink to mediamanager to allow automatic renaming of all invalid filenames in a namespace to valid media-file-names  +
-author     : STADTWERKSTATT +
-email      : target@servus.at +
-type       :  +
-lastupdate : 2009-12-27 +
-compatible : 2009-08-30 +
-depends    :  +
-conflicts  :  +
-similar    :  +
-tags       : rename, renaming, media, mediamanager, filenames +
----- +
- +
-===== What is this ? ===== +
- +
-Media Files with invalid names can be renamed to valid dokuwiki-media-file-names when they are found in a media directory by the media-manager.  +
-Renaming is triggered by a link at media-managers left-side area.  +
- +
-Such a filename fixing can be needed, if files were not uploaded with the media manager but copied via the servers filesystem. Take notice: recursive renaming works, but stops inside renamed directories. Re-run the action in that case, as long as no more invalid filenames were encountered. +
- +
- +
-===== Download and Installation ===== +
- +
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually. +
- +
-[[http://develop.servus.at/software/mediarename-2009-12-02.tgz]] +
- +
-[[http://develop.servus.at/software/mediarename-2009-12-02.zip]] +
- +
- +
-===== Usage ===== +
- +
-If the plugin is installed, aquicklink is shown in the left-side-area of the mediamanager. Clicking it, converts all invalid media filenames to valid ones. +
-Recursively processing all sub-namespaces can be choosen. +
- +
-Mediamanagers usual behaviour is to show a message for each invalid mediafilename found. +
-Clicking the rename-link shows a message for all renamed files. To get rid of this (list), just refresh the view (by clicking the namespace) +
- +
- +
-===== Notes ===== +
-  * The recursive renaming does not truely work yet: in case that a directory had to be renamed, recursion breaks - possible invalid filenames inside that directory are not renamed. \\ Simply run the function a second time ! \\ \\  This is for the case that a directory has to be renamed exactly to the name of an already exising directory - to prevent the unintendet moving of the files from the first dir to the existing dir (that would follow from the recursive process)  \\  Didnt come around this till now ...  Well, being forced to click several times if there are directories with invalid names is not the worst that can happen... at least you see what you are doing;-) +
-  *  +
-  * Keep in mind: Dokuwiki skipps all filenames in the mediadir beginning with '.', ':', '_'. as hidden files. \\  As you possibly could use this plugin for bulk-renaming digi-cam photos with typically uppercase-names wich you didnt load throug media-manager you might find that some cams name the .jpgs like: '_IMG-xxx'. Unfortunately such files are not recognized by dokuwiki and thus also not renamed by this plugin. +
-  +
plugin/mediarename.1261954767.txt.gz · Last modified: 2009-12-27 23:59 by 86.59.89.192

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki