I have a very old server that stores 16Tb of data. It is running FreeNAS (freebsd). Network cards are physically damaged and the server is on its last breath.
I have 2 8TB NTFS external hard drives. I'm trying to copy all those files into hdd1, and whatever won't fit on it into hdd2. Hard drives are mounted into /mnt/hdd1 and /mnt/hdd2
I have just enough space and incredible complicated file structure I can't just copy couple folders onto one and everything else on another drive. I would need some script to do that. Any suggestions?
Again, it's just freebsd with no UI
Try this:
If installing
rsync
is not an option, you can do some tricks with lists of files and copying one by one usingwhile
andcp
.