ecryptfs-rewrite-file (1) - Linux Manuals
ecryptfs-rewrite-file: force a file to be rewritten (reencrypted) in the lower filesystem
SYNOPSISecryptfs-rewrite-file [file1] [file2] [file3] ...
DESCRIPTIONThis script takes one or more files/directories/symlinks as arguments, moves each of them to a temporary file, and then moves them back to the original name. This causes the file to be rewritten (and reencrypted) in the lower filesystem.
It is advised that this script is executed in runlevel 1 or 3, to avoid simultanteous writes and race conditions with targeted files.
USING THIS SCRIPT WHILE GNOME, KDE, OR OTHER APPLICATIONS ARE RUNNING MAY CAUSE DATA LOSS.
AUTHORThis manpage was written by Dustin Kirkland <kirkland [at] ubuntu.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
On Debian and Ubuntu systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.