Extract file paths

Find Unix, Windows and UNC paths in text. Files-only matching keeps quoted spaces and excludes web URLs; choose whether to sort or remove duplicates.

Input: TextResult: Text

Text input

Examples

Find configuration files in a deployment note

Input

Config /etc/nginx/nginx.conf; log /var/log/nginx/error.log

Expected answer

/etc/nginx/nginx.conf
/var/log/nginx/error.log
Windows
On
UNIX
On
Display total
Off
Sort
Off
Unique
Off
Path matching
Files only
Keep spaces in a quoted Windows path

Input

Open "C:\Program Files\Example App\settings.json" then "D:\Build Logs\release.txt".

Expected answer

C:\Program Files\Example App\settings.json
D:\Build Logs\release.txt
Windows
On
UNIX
On
Display total
Off
Sort
Off
Unique
Off
Path matching
Files only
Find a shared-network backup

Input

Copy "\\fileserver\team share\Q4 report.csv" to C:\backup\report.csv

Expected answer

\\fileserver\team share\Q4 report.csv
C:\backup\report.csv
Windows
On
UNIX
On
Display total
Off
Sort
Off
Unique
Off
Path matching
Files only
Sort a repeated backup-file list

Input

/tmp/z.log
/tmp/a.log
/tmp/z.log

Expected answer

Total found: 2

/tmp/a.log
/tmp/z.log
Windows
On
UNIX
On
Display total
On
Sort
On
Unique
On
Path matching
Files only
Separate a web endpoint from local files

Input

GET https://example.org/api/users
Save ./cache/users.json and /var/log/sync.log

Expected answer

./cache/users.json
/var/log/sync.log
Windows
On
UNIX
On
Display total
Off
Sort
Off
Unique
Off
Path matching
Files only

Note that if UNIX is selected, there will likely be a lot of false positives.

Related tools

Browse extractors tools