• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

accidentally removed the wrong dir

I am working on the Centos v6.4 web server where I have two dirs, one called html and other other one called html1
the html file size is about 50 GB while html1, the one I was trying to delete is just 2 GB..
for some weird reason I did "rm -rf html" but realized right after hitting enter and I clicked disconnect from shell intermediately.. I cannot just download (50 GB) dir and just compare its contents and upload the missing ones, is it possible to know if anything got deleted?
i'm browsing the website perfectly fine and I don't see anything missing..
0
XK8ER
Asked:
XK8ER
1 Solution
 
multimacCommented:
Find out which directory was "changed" in last 24hrs, that might give you some hints:

find . -type d -mtime -1
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now