Solved

accidentally removed the wrong dir

Posted on 2013-05-30
1
359 Views
Last Modified: 2013-05-30
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
Comment
Question by:XK8ER
1 Comment
 
LVL 7

Accepted Solution

by:
multimac earned 500 total points
ID: 39209221
Find out which directory was "changed" in last 24hrs, that might give you some hints:

find . -type d -mtime -1
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question