Move files and resize partition automatically?
- by Rob
I'm in a bit of an odd situation. I've recently been working on switching from debian to arch, and I've got my home partition for both pointing to the same partition (different usernames, so that's not an issue).
What I want to do is one of two things, either:
Set up user on arch with same username and group as debian, and have everything just sort of work! OR
Move files I'd like to share between home folders to their own partition, and mount it with fstab.
For the second one, I have around 150gb of files that would need moved to their own partition, and i've got about 15gb of free space on my home partition. So what I'd want to do is somehow make a 10gb ext4 partition, move 10gb-ish of files, expand the partition again, move files again, etc until all the files are moved to their own partition.
I can do it manually, but it'd be easier if I could say "Move 10GB-ish of files from here to there, and then resize it and repeat until I'm out of files".
Is that even possible?