Path macros
Overview
When defining the location of a folder on an endpoint computer, you can specify an absolute path or use a path macro which looks similar for the admin of the Connect Management Console, but takes different actual values on the endpoint computer.
Advanced configuration
Keep in mind that following default path macros can be overwritten in the configuration file
Windows, Resilio Agent Service running as Local Service
Macro | Windows 7 + (as service) |
---|---|
%HOME% | C:\Windows\ServiceProfiles\LocalService\ |
%DOWNLOADS% | C:\Users\Public\Documents\Resilio Connect Agent |
%USERPROFILE% | C:\Windows\ServiceProfiles\LocalService |
%FOLDERS_STORAGE% | * |
Windows, Resilio Agent Service running as Local System
Macro | Windows7+ (as service) |
---|---|
%HOME% | C:\Windows\system32\config\systemprofile\ |
%DOWNLOADS% | C:\Users\Public\Documents\Resilio Connect Agent |
%USERPROFILE% | C:\Users\ |
%FOLDERS_STORAGE% | * |
Windows, Resilio Agent Service running as user
Macro | Windows Vista7+ |
---|---|
%HOME% | C:\Users\ |
%DOWNLOADS% | C:\Users\Public\Documents\Resilio Connect Agent |
%USERPROFILE% | C:\Users\ |
%FOLDERS_STORAGE% | * |
POSIX, NAS
Macro | %HOME% | %DOWNLOADS% | %USERPROFILE% | %FOLDERS_ STORAGE% |
---|---|---|---|---|
OS X | /Users/ |
/Users/ |
/Users/ |
* |
Linux/packages | home/ |
/home/ |
/home/ |
* |
Synology | /volume1/Resilio Agent | /volume1/Resilio Agent/Downloads | /volume1/Resilio Agent/Downloads | * |
Western Digital | /shares/Public/Resilio Agent | /shares/Public/Resilio Agent/Downloads | /shares/Public/Resilio Agent | * |
Android
%HOME% | /storage/sdcard0 |
---|---|
%DOWNLOADS% | Configured in Agent for Android settings, usually /storage/sdcard0/Download |
%USERPROFILE% | /data/data/com.resilio.connect.agent/files |
%SDCARD% | / |
%FOLDERS_STORAGE% | * |
%FOLDERS_STORAGE%
%FOLDERS_STORAGE% is a special location. When Agents gets
%FOLDERS_STORAGE%, it takes the “folders_storage_path” value from sync.conf
which was used to connect the client to the Resilio Management Console.
Starting with Resilio Connect v2.12, this macro is also resolved in "Default folder location" that user chooses in Agent UI settings.
This macro won't work for agents that connect to Console without config (using IP only) or without Agent UI (for version prior to 2.12) and
will give an error. _