get the path of moved directory/file (source path and destination path)

Posted by Ghanshyam Rathod on Ask Ubuntu See other posts from Ask Ubuntu or by Ghanshyam Rathod
Published on 2012-09-29T06:11:32Z Indexed on 2012/09/29 9:49 UTC
Read the original article Hit count: 531

Filed under:

When one directory is moved to other destination path, then i want to log the entry of original source path and entry of the path where it moved.

any command is already available ? or any other way of doing this task?

Ex:

D1 = /home/user/Documents/test
D2 = /home/user/Documents/Data/test

when i moved D1 directory to the destination path to D2 directory then i want to log, like

"test" directory is moved from D1 to D2 path

Thanks

© Ask Ubuntu or respective owner

Related posts about paths