Skip to content

Instantly share code, notes, and snippets.

@gustavobgama
Created January 24, 2014 16:05
Show Gist options
  • Save gustavobgama/8600285 to your computer and use it in GitHub Desktop.
Save gustavobgama/8600285 to your computer and use it in GitHub Desktop.
How to get the creation date of file in *nix systems

Get mounted partitions

$ sudo mount -l

Get creation date of file

$ debugfs -R 'stat <path_to_file>' <momunted_partition_path>

momunted_partition_path is the partition mouting path of path_file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment