[UOS] 基于shell+dialog+zenity写的cp/scp/rsync工具的拷贝&同步脚本
Tofloor
poster avatar
曾经uos一员
deepin
2024-04-23 23:20
Author

前言:写这个脚本的原因有两个

原因一:练习加固脚本编写技能;原因二:有时候懒得打开终端输入命令及密码等,也方便不熟练输入命令的用户使用.

经实测,该脚本支持在Deepin、UOS、Kylin系统安装使用;下面是三个系统的脚本运行截图,使用方法就不详细说明了基本鼠标点点敲敲键盘都能搞定吧.安装deb包后会在桌面生成“拷贝&同步”图标,双击运行即可。

Deepin系统脚本截图:

截图_deepin-terminal_20240423225530.jpg

 

UOS系统脚本截图:

 

Kylin系统脚本截图:

image.png

deb安装包已分别在UOS、Kylin系统签名验证,下载地址:deb安装包下载链接并适用在Deepin、UOS、Kylin系统安装使用。

Reply Favorite View the author
All Replies
昨夜的星辰
deepin
2024-04-23 23:41
#1

感谢分享,下载试试

Reply View the author
berners
deepin
Backbone of ecological co-construction group
2024-04-24 00:41
#2

等等,你这ID......

Reply View the author
乾豫恒益
deepin
2024-04-24 08:11
#3

搬个椅子,学习一下。

Reply View the author
Ziggy
deepin
2024-04-24 10:24
#4

kissing_heart shell脚本可以通过desktop文件来打包成deb安装包,通过社区投递系统 快捷将deb安装包发布到应用商店,其他小伙伴就能直接通过应用商店一站下载安装啦

如果是shell脚本类执行文件,可以通过一站式应用迁移平台 便捷生成deb安装包

下面是我常用于为shell脚本创建桌面启动文件(desktop files)的模板,希望能给你带来帮助~ 其中的AppRun即为shell脚本文件,如果是CLI需要通过终端来操作的应用可以设置"Terminal=true",这样应用会以终端形式运行启动

[Desktop Entry]
Name=scrcpy
Name[zh_CN]=scrcpy Android 有线投屏
GenericName=Android Remote Control
Comment=Display and control your Android device
# For some users, the PATH or ADB environment variables are set from the shell
# startup file, like .bashrc or .zshrc… Run an interactive shell to get
# environment correctly initialized.
Exec=/opt/apps/scrcpy.genymobile.github/files/AppRun
Icon=scrcpy
Terminal=false
Type=Application
Categories=Utility;RemoteAccess;
StartupNotify=true

欢迎加入开发者社群与其他开发者交流,群内也有官方商店运营同学和技术研发同学为各大开发者提供优质服务tail

Reply View the author
曾经uos一员
deepin
2024-04-24 10:49
#5
berners

等等,你这ID......

ID只是过往~~不值得一提.hh.。。。

Reply View the author