how to restore permanently deletedd folder 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