Eyeon:Script/Reference/Libraries/eyeon/defragfile

From VFXPedia

Jump to: navigation, search


Contents

Usage

eyeon.defragfile(string filename)

  • filename (string, required)

A string representing the full filename of the file to be defragmented.


Returns

This function returns two values : A boolean (true / false) value indicating if the function is successful, and if the first return value is false it will also return a string indicating the cause of the problem.


Remarks

This function will attempt to defragment the filename specified in the argument. This process reorganizes the file on disk, placing the sectors that store the data into sequential order on disk. This can significantly improve io read times for large files.

To defragment entire sequences of images, have a look at the eyeon.defragsequence function instead.


Requirements

  • eyeonScript 5.2


Examples




Tips for defragfile (edit)

EyeonTips:Script/Reference/Libraries/eyeon/defragfile