Affected versions
This article applies to all versions of Portfolio 4. These steps do not apply to vault catalogs.
Solution
Create a backup
Before making a change like this it's best to create a backup beforehand so that should any mistakes are made, you can always roll back to the previous version of the database
Removing the watched folder
Log in to the Portfolio Web client as the default administrator, or as a user with the Catalog Administrator permission.
Select the catalog to be updated. Select the old watched folder in the folder pane and click the minus (–) button.
A dialog appears asking you to confirm. Leave the Remove Assets from Catalog checkbox unchecked; checking that checkbox will cause Portfolio to delete the records to be updated. Click Remove.
Updating the paths using the update-paths script
On Windows, open a Command Prompt window and change to Portfolio's applications subfolder. (cd C:\Program Files (x86)\Extensis\Portfolio Server\applications
)
To change the folder name from "Images" to "Digital Assets" in the Assets catalog:
update-paths.cmd -u administrator -p <password> -c "Assets" -o "::Portfolio:Portfolio:Users:Shared:Portfolio:Images:" -n "::Portfolio:Portfolio:Users:Shared:Portfolio:Digital Assets:"
On macOS, open the Terminal window and change to Portfolio's application subfolder (cd "/Applications/Extensis/Portfolio Server/applications/"
).
To change the folder name from "Images" to "Digital Assets" in the Assets catalog:
./update-paths.sh -u administrator -p <password> -c "Assets" -o "::Portfolio:Portfolio:Users:Shared:Portfolio:Images:" -n "::Portfolio:Portfolio:Users:Shared:Portfolio:Digital Assets:"
You can change the server name, the network share name, the folder path, or any combination of the above. For information on using the update-paths script and how Portfolio folder paths work, go to Updating file and folder paths in Portfolio.
Adding the new watched folder
After the paths have been updated, you will add the new watched folder to your catalog.
Click the plus (+) button in the lower-left corner of the folders pane and choose New Watch Folder.
Select the path to the new folder. If the folder resides on a network share, enter the path in the Folder Path field at the top of the New Watch Folder dialog.
Once the new watched folder has been added, Portfolio will check for new and missing files.