how to get deleted folders back on ubuntu 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