My computer has one 500GB drive.
I want to move 400GB of data from
Both directories are on the same partition, but
/encrypted is handled by ecryptfs, so
mv /uncrypted/* /encrypted would:
- Copy all files to destination
- Then remove them from source
...which I can't afford, because it requires 800GB.
If files were moved one-by-one, there would be no problem (the ecryptfs zone is dynamic).
Is there an
mv option or another tool, that moves a directory file-by-file?
There is a huge number of files, so ARG_MAX might be a problem for script-based solutions.