linux - 如何将linux命令重写为CMD语法

标签 linux batch-file cmd

你能帮我在 Linux 上重写这个命令/语法吗:

inname=`convert image -format "%t" info:`
convert image.jpg ..... ${inname}_%d.png

到批处理文件?它适用于 ImageMagick。 %d 是 ImageMagick 命令的一部分。

最佳答案

您可以创建别名,这是一种简单的方法

http://www.mediacollege.com/linux/command/alias.html

关于linux - 如何将linux命令重写为CMD语法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10104131/

相关文章:

linux -/bin/sh : Syntax Error: end of file unexpected

linux - bash变量中带括号的文件夹名称

batch-file - 批处理文件中的分隔符问题

windows - 重命名不带括号的多个文件/删除括号窗口

cmd - 复制/a 和复制/b 之间的区别

linux - chmod 系统调用需要数字参数以仅更改粘滞位

linux - UART 初始化 : Prevent UART to pull RTS high

windows - 如何使用批处理文件将 IP 地址转换为整数

windows-7 - DOS 批处理文件正在跳过 FOR delims

batch-file - 使用命令提示符创建批处理脚本文件