![](/img/trans.png)
[英]Maximum Windows username length - Maximum allowable file path length for Windows Store App
[英]JQ: maximum file path length (windows)
i use jq (1.5) in a Windows 10 Environment for some json transformation operation (to load data from api to a SQL Server). 我昨天在我的測試環境中檢查了 jq transform 命令的新副本,並在早上以異常運行(jq 命令、源文件和目標文件相同)。 新舊版本的區別在於文件路徑:
舊:C:\Import\
新:C:\Import\Test20170725\
使用以下命令(在 powershell 中):
jq.exe -f C:\Import\Test20170725\jqfilter_cruises.jq C:\Import\Test20170725\Dreamlines_cruises.json | out-file -encoding UTF8 -filepath C:\Import\Test20170725\import_cruises.json
我今天進行了實驗,看起來輸入文件的路徑受到最大長度的限制。 如果我減少那里的文件路徑,該命令可以正常工作(就像原來的一樣)。 有小費嗎?
問候蒂莫
這是 jq 1.5 中的一個錯誤。 jq 1.6 不再有這個問題。 請升級您的 jq 安裝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.