I deleted a file in my home directory. How can I recover it?

cd into the hidden ".snapshot" directory under your home directory and choose from the available snapshots:
$ cd $HOME/.snapshot

Example: (Replace the "j" and "jbruin" with the path to your home directory: /u/home/j/jbruin/.snapshot).

The snapshots will be named something similar to:


daily.2016-10-02_0010 hourly.2016-10-03_1305 hourly.2016-10-03_1505 hourly.2016-10-03_1705 weekly.2016-09-25_0015
daily.2016-10-03_0010 hourly.2016-10-03_1405 hourly.2016-10-03_1605 hourly.2016-10-03_1805 weekly.2016-10-02_0015


Navigate to the director(ies) containing the deleted file(s) and copy them back to your home directory in the desired location.
Creation date: 10/4/2016 9:56 AM     Updated: 10/4/2016 9:56 AM