擷取檔案路径

擷取 Unix、Windows 和 UNC 路徑;僅檔案模式保留引號內空格並排除網址,可排序和去重。

輸入: 文本結果: 文本

文本輸入

範例

部署設定檔

輸入

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
顯示總數
Off
排序
Off
去除重複
Off
路径 matching
Files only
保留Windows路徑中的空格

輸入

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
顯示總數
Off
排序
Off
去除重複
Off
路径 matching
Files only
共享網路備份

輸入

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
顯示總數
Off
排序
Off
去除重複
Off
路径 matching
Files only
路徑排序與去重

輸入

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

Expected answer

Total found: 2

/tmp/a.log
/tmp/z.log
Windows
On
UNIX
On
顯示總數
On
排序
On
去除重複
On
路径 matching
Files only
區分網址與檔案

輸入

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
顯示總數
Off
排序
Off
去除重複
Off
路径 matching
Files only

相关工具

擷取

操作参考

查看原始技术文檔 (English)