I am trying to move files which donot have same filename using
but i am getting all filenames including the ones with duplicate names.Please help me to sort this out.
Thanks in advance
Code:
find /Users/ParijatMac/desktop/unix/new_dir -type f -mmin +"$HRS" -exec mv -n "{}" /Users/ParijatMac/desktop/unix/old_dir \; -print
but i am getting all filenames including the ones with duplicate names.Please help me to sort this out.
Thanks in advance