Extracts the feed ID from a path.
Looks for a feed_<numeric-id> directory segment anywhere in the path. This covers both data paths such as /home/user/feeds/feed_123 and the job-history projection at /proc/jobs/feed_123.
feed_<numeric-id>
/home/user/feeds/feed_123
/proc/jobs/feed_123
The directory path to analyze.
The feed ID as a number, or null if not found.
path_extractFeedID('/home/chris/feeds/feed_123/pl-dircopy_456/data/')// Returns: 123 Copy
path_extractFeedID('/home/chris/feeds/feed_123/pl-dircopy_456/data/')// Returns: 123
Extracts the feed ID from a path.
Looks for a
feed_<numeric-id>directory segment anywhere in the path. This covers both data paths such as/home/user/feeds/feed_123and the job-history projection at/proc/jobs/feed_123.