Solved

accidentally removed the wrong dir

Posted on 2013-05-30
1
356 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINUX, CPANEL & WHM 5 44
Linux Scripting 3 102
I think my Ubuntu 12.10 box is hacked, but not sure... 13 53
is my large folder zipped corrupted 4 50
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

896 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now