MAC中如何通过Automator解压jar文件
时间:2022-06-18 07:51:02
随着现在信息量的急剧增长,我们从网上下载的东西越来越多,而这些下载下来的文件大都是压缩文件,那么MAC用户该怎么解压这些文件呢?今天小编给大家介绍一个MAC解压jar压缩文件的方法吧。
MAC解压jar压缩文件的方法:
1.启动Automator, 在左边选择Finder, 拖动“获取Finder选定项”到工作区
2. 左边再选择Automator, 拖动Run Shell Script到工作区。
3. 改变 Pass Input value为 arguments.
4. 输入下面的Sell脚本:
cd `dirname “$1”`
mkdir `basename “$1” .jar`
cd `basename “$1” .jar`
jar xf “$1”
5. 保存工作流到 ~/Library -》 Workflows -》 Applications -》 Finder 文件名“Extract JAR File.”
然后在Finder中右键点即JAR文件选择 Automator 》 Extract JAR 就可以自动解压该文件了。
标签:Automator
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
在WPS里怎样将中间那条分隔符去掉
2023-12-01 04:57:06
Excel中的高级筛选基础教程
2022-03-07 17:38:32
![](https://img.aspxhome.com/file/2023/4/a156654_0s.jpg)
如何在excel2019中如何对数据进行对比检查
2022-12-24 13:11:09
![](https://img.aspxhome.com/file/2023/5/a140225_0s.jpg)
wps怎么样取消保护
2023-04-03 02:17:27
![](https://img.aspxhome.com/file/2023/9/a171099_0s.jpg)
用鼠标拖动 用Ctrl或Shift键调整表格 复制或移动选择
2023-07-30 12:19:30
![](https://img.aspxhome.com/file/2023/1/a169501_0s.gif)
Excel 单元格引用方式:相对引用、绝对引用和混合引用 教程
2023-02-13 00:47:55
![](https://img.aspxhome.com/file/2023/5/a154935_0s.gif)
WPS word空心方头括号符号〖〗怎么打
2023-07-19 06:44:29
![](https://img.aspxhome.com/file/2023/9/a186189_0s.png)
WPS Excel中如何计算日期所在的周数
2022-03-25 11:52:21
![](https://img.aspxhome.com/file/2023/9/a185619_0s.jpg)
Win10电脑任务栏的广告弹窗怎么彻底关闭?
2022-04-05 06:11:15
![](https://img.aspxhome.com/file/2023/3/52263_0s.png)
电脑版wps文档如何设置只显示奇数页的页眉横线
2022-03-18 17:49:51
![](https://img.aspxhome.com/file/2023/9/a182899_0s.png)
如何使用手机wps制作表格呢
2023-05-13 23:15:21
Premiere Pro CC 2017mac这些功能你知道吗?
2022-10-27 03:09:55
![](https://img.aspxhome.com/file/2023/0/a214180_0s.jpeg)
wps文字如何设置多级标题
2022-09-09 14:12:37
火炬之光2存档位置在哪?Win10火炬之光2存档位置详解
2023-11-25 21:17:27
![](https://img.aspxhome.com/file/2023/5/51055_0s.jpg)
Excel表格技巧—用Offset函数快速查找目标数据
2022-09-09 06:21:06
excel多工作表数据合并快速实现教程
2023-06-07 07:06:14
![](https://img.aspxhome.com/file/2023/3/a140813_0s.jpg)
怎么给Word2007添加拼音指南及设置
2023-11-19 04:49:04
![](https://img.aspxhome.com/file/2023/0/18090_0s.jpg)
excel2003动态图表制作教程
2022-03-08 10:20:42
excel表格数据升序的教程
2023-07-19 20:14:27
高版本的office怎么设置文件默认保存为低版本?
2023-08-29 03:50:19
![](https://img.aspxhome.com/file/2023/4/15604_0s.jpg)