new exports(outputDestination, sortIntoFolders)
Creates an instance of Laniakea Renamer
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
outputDestination |
string | Where you want the renamed files to be saved. | |
sortIntoFolders |
boolean | false | Dictates if you want sorted files namespaced into folders |
- Source:
Methods
renameFile(sourceLocation) → {boolean}
Renames an individual file based on installed dictionaries
Parameters:
| Name | Type | Description |
|---|---|---|
sourceLocation |
string | Where the file to be renamed is located. Should be a fullpath. |
- Source:
Returns:
- Whether the rename was successful
- Type
- boolean