how to recover rm folder in centos in linux code example
Example: ubuntu undelete a whole directory
sudo extundelete --restore-directory /home/myself/Documents/deleted_folder/ /dev/sda1
sudo extundelete --restore-directory /home/myself/Documents/deleted_folder/ /dev/sda1