linux - Using find command to search for files in one directory which are not in the other, then move them -


i able use gnu find command in bash find exact filenames in somedir_v1 not match filenames in somedir_v2, , move files somedir_v1 newdir_v1

the thing is, while copy somedir_v2 on somedir_v1, , have newer versions of files, both of these directories have 40gb files. don't know if access time (atime) update when move them, might not know files inside, files replaced , wasn't replaced. anyway, i'm not going way.

if there's bash line can use, please let me know. thank you.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -