Source: Handling renamed files or directories in rsync
Here is a tool that is designed to work before rsync
is run: rsync-sidekick
This propagates following changes from source directory to destination directory (or any combination of below):
- Change in file modification timestamp
- Rename of file/directory
- Moving a file from one directory to another
rsync
options such as --detect-renamed
, --detect-renamed-lax
, --detect-moved
and --fuzzy
don't work reliably and sometimes are dangerous! rsync-sidekick
is reliable alternative to all these options and much more.
Source: Can the EFI system partition be RAIDed?
mdadm metadata ver. 1.0 does the job.
Continue reading »完整備份 LINE 電腦版:
- Windows:%USERPROFILE%\AppData\Local\LINE
- MAC:~/Library/Containers/ jp.nvaver.line.mac/Data
一個群組一個群組分開備份成 txt 文字檔:
- 步驟1點擊群組視窗右上角的「...圖示」。
- 步驟2點擊「儲存聊天」。
- 步驟3確認「檔名」、選擇「儲存位置」點擊「儲存」。
- 步驟4彈跳視窗提醒「檔案格式為文字檔」、不會儲存圖檔。
Source: https://cirw.in/blog/bracketed-paste
- Enable bracketed paste: printf "\e[?2004h"
- Wait for paste to start: you’ll see \e[200~ on STDIN.
- Wait for paste to stop: you’ll see \e[201~ on STDIN.
- Disable bracketed paste:
printf "\e[?2004l"
sudo dd if=/path/to/file.iso of=/dev/sdX status=progress oflag=sync bs=8M
Source: How to extract saved password from Remmina?
import base64
from Crypto.Cipher import DES3
secret = base64.b64decode(b'<STRING FROM remmina.prefs>')
password = base64.b64decode(b'<STRING FROM XXXXXXX.remminaa>')
print(DES3.new(secret[:24], DES3.MODE_CBC, secret[24:]).decrypt(password).decode('utf-8'))
Starting with Java 7 Update 51, Java does not allow users to run applications that are not signed (unsigned), self-signed (not signed by trusted authority) certificate.
Go to https://www.oracle.com/tw/java/technologies/javase/javase7-archive-downloads.html.
Download and install Java SE Runtime Environment 7u45.