标签: command-line-tool

如何从 Linux 命令行获取有关图像(图片)的信息?

我正在开发一个网络应用程序,目前正在从一个旧应用程序迁移一些东西,但我讨厌我必须打开一个图像编辑器来获取有关我正在迁移的图像的一些信息。诸如图像尺寸之类的东西。

在 Linux 中是否有可以用于此类任务的命令行工具?

command-line command-line-tool image-processing

294
推荐指数
9
解决办法
32万
查看次数

如何通过 cmd 行列出带有文件大小和压缩率的 zip 内容

如何在带有命令行工具的 osx 上列出带有文件大小和压缩率(或打包大小)的 zip 内容?

zip command-line gzip command-line-tool macos

100
推荐指数
2
解决办法
10万
查看次数

macOS,更新到 Monterey 12.6 后缺少命令行开发工具

我的 Apple MacBook pro M1 2020 自动更新到Monterey 12.6最近。更新后,我必须同意 Xcode 协议/许可证。之后,我发现两者pythongit不再正常工作。我收到一个弹出窗口:The \xe2\x80\x9cgit\xe2\x80\x9d command requires the command line developer tools.但是在我安装该工具后,弹出窗口又回来并要求我递归安装该工具。有什么建议来解决这个问题吗?

\n

当我运行该git命令时,出现以下错误消息:

\n
2022-09-15 16:35:42.216 xcodebuild[5621:29269] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)\n  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'\n  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn\xe2\x80\x99t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)\n  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'\n …
Run Code Online (Sandbox Code Playgroud)

python git command-line-tool macos

69
推荐指数
2
解决办法
2万
查看次数

安装 DevCon.exe 的快速方法?

作为refered被微软:

安装 WDK、Visual Studio 和适用于桌面应用程序的 Windows SDK 时,会包含 DevCon (Devcon.exe)。

但是这些程序需要数百 MB,而且我不需要在我的 Windows 上安装完整的套件。

是不是有一个快速的方法来获得正好devcon.exeUTIL?

如果可能,请回答任何 Windows 版本。如果没有,至少对于 Windows XP 对我来说就足够了。

windows command-line-tool devcon

56
推荐指数
2
解决办法
13万
查看次数

是否可以通过传输远程检索磁力链接?

我在家庭服务器上运行种子文件,我通过transmission-remote实用程序与家庭服务器通话。我想检索我的一个种子文件的磁力链​​接,但这似乎是不可能的,因为transmission-remote -t[torrent-id] -i它没有给我链接,而且手册也什么也没说。有没有办法获得磁力链接?

bittorrent transmission magnet-links command-line-tool

13
推荐指数
2
解决办法
1万
查看次数

用于图像转换的命令行工具

可能的重复:
免费的命令行图像转换器

我需要一个用于 Windows 的命令行工具,它可用于将图像从任何常见格式转换为 24 位位图。我正在编写一些程序来用 C 进行图像处理,但我真的不想编写大量代码来读取多种格式的图像。我经常使用位图格式进行读写,因为它非常简单。我真的不想通过在油漆中打开并以所需格式保存来转换所有图像。

windows command-line command-line-tool

9
推荐指数
2
解决办法
3万
查看次数

如何删除或停用 Windows system32/find.exe?

我试图使我的 Windows 系统尽可能与现有的 Makefile 兼容。缺少的一个重要步骤是用GNU find(目录和子目录中的所有文件的列表)替换windows“find”(与grep相同)。这可能吗?(我已经安装了 msys find 并准备好了。只需删除 system32/find.exe 可能会起作用,但不幸的是,这并不容易)

windows cygwin mingw command-line-tool

7
推荐指数
1
解决办法
3936
查看次数

从命令行“wput”多个文件?

您可以上传单个文件wput

wput file ftp://username:passwd@ipaddress/file
Run Code Online (Sandbox Code Playgroud)

有没有办法上传多个?也许是这样的:

wput {file1,file2} ftp://username:passwd@ipaddress/{file1,file2}
Run Code Online (Sandbox Code Playgroud)

:我知道有使用的解决方案ftpcurl别人和。我想知道是否有一个 for wput.

ftp wget command-line command-line-tool

6
推荐指数
1
解决办法
9279
查看次数

tmux 会话的交互式搜索

当使用交互式会话菜单 ( <prefix>-s)在 tmux 会话之间切换时,您可以通过键入会话的数字或字母索引来跳转到特定会话,例如

(0) + first_session: 1 windows (1) + second_session: 2 windows (2) + third_session: 1 windows (3) + secret_session: 1 windows

1将打开second_session会话。

我经常打开超过 20 个 tmux 会话,我希望有一种无需查看整个列表即可进行搜索的方法。有没有办法改变行为以进行交互式搜索?也就是说,我想输入sec并将列表缩小到

(1) + second_session: 2 windows (3) + secret_session: 1 windows

我用谷歌搜索了很多,但一无所获;这种行为可能吗?

linux bsd command-line tmux command-line-tool

5
推荐指数
1
解决办法
1853
查看次数