[Bash] Move Large Number of Files via tar Command


Move large number of files via tar command under Bash. This is much quicker than mv command if there are a lot of small files.

$ tar cvf foo.tar /path/to/your_directory
$ tar xvf foo.tar -C /path/to/your_new_location
$ rm foo.tar

References:

[1]
[2]
[3]GitHub - joeky888/fil: Unix file command written in Go : golang