I used
Code: Select all
cp -a /source/of/data/. /destination/for/data/
https://askubuntu.com/questions/86822/h ... nt-directo
As I understand, the -a flag causes
-hidden files to be copied (this is good, I want that)
-file permissions to be preserved (this one has me concerned)
With file permissions, I am unsure as to what that means for the future when I am copying the files back. When I am copying the files onto another computer, how will that be looked at in these situation:
-to a user's directory. Will it need to be the same username as the "source" computer?
-to the home directory, not part of the users directory
I guess my question is, do I want the permissions to look exactly the same (source vs files on the USB thumb drive) so that the files can be successfully transferred to another computer?
Both the source install and the destination install will be ext4 file format.