Have a file
File.txt and if any process is trying to copy the file from
Is there a way to identify if the file
File.txt (or any other file ) available in
/destination/ is completely copied, or the process is still going on.
lsof but its not working
**Error** : lsof: WARNING: can't stat() nfs file system
progress -mand it should be able to tell you. If your command is not a well-known command run
progress -m -c my_command. Or install
pv, which also works but it requires the PID to be supplied, as in
pv -d 1234.