在vim中實現批次加密(轉)
在vim中實現批次加密(轉)[@more@] 如何實現透過VIM批次對檔案加密? ============================================================ #!/bin/bash # Encrypt file with vim if (test $# -lt 2) then echo Usage: decrypt password filename else vim -e -s -c ":set key=$1" -c ':wq' $2 echo "$2 encrypted." fi ============================================================ [weeder@SMTH weeder]$ for file in *.txt ; do encrypt test $file ; done test2.txt encrypted. test4.txt encrypted. test9.txt encrypted. kick.txt encrypted. echo "$2 encrypted." fi [weeder@SMTH weeder]$ for file in *.txt ; do encrypt test $file ; done test2.txt encrypted. test4.txt encrypted. test9.txt encrypted. kick.txt encrypted. too_old.txt encrypted. too_old_again.txt encrypted. bg5.txt encrypted. [weeder@SMTH weeder]$
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8225414/viewspace-956787/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Python實現批次將ppt轉換為pdfPython
- JPG轉PDF如何實現?圖片批次轉換PDF的快捷方法
- 使用UiBot實現批次html轉換成PDF檔案UIHTML
- 使用Python實現批次PPT轉圖片,格式支援PNG、JPG,轉後圖片後批次重新命名Python
- HDF格式遙感影像批次轉為TIFF格式:ArcPy實現
- PDF批次轉換器,批次轉word為pdf,批次轉ppt為pdf
- Java中Blowfish加密演算法實現Java加密演算法
- golang 中,非對稱加密的實現Golang加密
- 聊一聊非對稱加密在介面引數中的簡單實現加密
- 在Linux中,有哪些基本的 Vim 命令?Linux
- golang 中,對稱加密的程式碼實現Golang加密
- 在 GPUImage 中實現 ColorConversionGPUUI
- 在 Zig 中實現介面
- 在報表中錄入資料時如何實現行列轉換
- 實現全站HTTPS加密HTTP加密
- 如何實現HTTPS加密HTTP加密
- python實現批次執行命令列Python命令列
- 伺服器如何實現批次操作伺服器
- gitlab如何實現批次clone倉庫Gitlab
- Spring中實現面向寫入的批次和批處理APISpringAPI
- Flutter中實現無Context跳轉FlutterContext
- PHP中實現頁面跳轉PHP
- vim跳轉到本行末尾
- Spring MVC 中檢視的實現原理,在Spring MVC 中實現重定向和轉發,以及訪問靜態資源SpringMVC
- 在Swift中實現撤銷功能Swift
- 在cesium中實現熱力圖
- 在Go中如何實現併發Go
- 在 Python 中實現 COMET 技術Python
- 在Unity中實現手部跟蹤Unity
- 在 DotNetty 中實現同步請求Netty
- 在小程式中實現 Mixins 方案
- 在網站中實現 React tsarticles網站React
- 在WPF程式中實現PropertyGrid功能
- 教你在Python中實現潛在語義分析Python
- 如何實現報表的批次列印需求
- 在介面測試中如何加密 token加密
- 在vim中顯示並編輯十六進位制
- 在 Linux 下將 PNG 和 JPG 批次互轉的四種方法Linux
- 在Docker中,如何清理批次後臺停止的容器?Docker