Adverti horiz upsell

Directory path change script 1.1.0 for Maya (maya script)

The script enables a user to change the directory path of all file nodes in the scene in one go.

Button download


  • 2012, 2011, 2010

Operating Systems

  • Windows


Last Modified:04/20/2012
File Size: 16.9 KB
The script requires a new path specified by the user as input and updates all file nodes in the scene with this path. Beneficial in situations where someone has changed the project folder or has updated the existing directory structure.

Procedure to use the script:

Place the script in your maya user's directory 
e.g. C:/Users/<Name>/maya/scripts/ 
or place it inside the installation directory

The script is working only on windows as of now, as linux has slightly different directory structure I will update the script for linux OS later.
This is my first script in MAYA so, please  post up if you encounter any bug. 


I made a minor tweak to the scRipt for one to search for a file name with  "a search keyword" . There are few limitations though, mainly:


   * While updating specific files in the scene, user has to make sure that the file naming conventions are such that  the string which one wants to search among the file-names should have the occurrence of it's first character  before it's duplicate entry .


For example:-

     Searching for file with the file-name "scene01_Spec01.tga" with search keyword "spec" won't be found by the script as character "s" occurs before the "Spec" word. In contrast to this, the same keyword search will give a match if the file convention is like spec01_scene0.tga.


 * Moreover the search is case sensitive.

Apart from that any suggestions or bug report , for improvement would be appreciated.

I am available at this email address: 

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • nikos afentakis
    nikos afentakis
  • rushcg
  • cg maya
    cg maya
  • gofish
  • binbin
  • reg ds
    reg ds
  • manuel arias
    manuel arias
  • darkcore.