Skip to content

Handy scripts for handling files: search file content by specified character set; batch rename Tencent IMs (Wechat, QQ, TIM...) exported pictures; collect Linux running status; hex view of part of a file, compare 2 folders; convert byte array from / to Base16 / Base32 / Base64 string, C / Java escaped string, Quoted-printable / URL encoded strin…

License

Notifications You must be signed in to change notification settings

ActiveVolcano/files-scripts

Repository files navigation

| English |

Introduction

Handy scripts for handling files.

Usage instructions are placed under each folder.

find-charset-files

Search file content by specified character set over folder tree.

rename-wechat-qq-export

Batch rename Tencent instant messaging applications (Wechat, QQ, TIM...) exported pictures in a folder:

  1. Remove the file name prefix.
  2. Convert the timestamp string to daytime string.

linux-status

Collect Linux running status, including processes, networks, mountpoints, environment variables, into a folder named linux.status.

Useful to make a record before reboot, and confirm after reboot.

Make life of reboot easier.

file-part-hex

Hex view of part of a file.

compare-2-folders

Compare 2 folders by size only / 4 kB partial / full file content compare mode.

byte-array

Byte array from / to Base16 / Base32 / Base64 string, C / Java escaped string, Quoted-printable / URL encoded string, file, Java expression.

truncate

A simple truncate command that can be run under Windows, to change the file size.

file-base64-linebreak

Encode file or clipboard to Base64 form with linebreak, so that there are no more than 76 characters per line, according to RFC 2045.


| Chinese | 中文 |

概述

文件操作小工具脚本集。

使用说明放在各文件夹中。

find-charset-files

按指定字符集搜索文件夹内文件内容。

rename-wechat-qq-export

将一个文件夹中的腾讯即时通信软件(微信、QQ、TIM……)导出图片文件,批量改名:

  1. 删掉软件名前缀。
  2. 时间戳转成日期时间文字。

linux-status

收集 Linux 运行状态,包括进程、网络、挂载点、环境变量,写入 linux.status 文件夹。

可用于重启前先记录,重启后对照记录核对服务是否齐全,让重启工作轻松点。

file-part-hex

十六进制显示文件部分内容。

compare-2-folders

比较2个文件夹,支持仅比较文件长度 / 4 kB 部分内容 / 全部内容。

byte-array

字节数组与 Base16 / Base32 / Base64 字符串、C / Java / Quoted-printable / URL 转义字符串、文件、Java 表达式之间转换。

truncate

可运行在视窗系统的简单 truncate 命令,改文件大小。

file-base64-linebreak

将文件或剪贴板编码为带换行的Base64,每行不超过76字符,以符合RFC 2045。

About

Handy scripts for handling files: search file content by specified character set; batch rename Tencent IMs (Wechat, QQ, TIM...) exported pictures; collect Linux running status; hex view of part of a file, compare 2 folders; convert byte array from / to Base16 / Base32 / Base64 string, C / Java escaped string, Quoted-printable / URL encoded strin…

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published