Solved

accidentally removed the wrong dir

Posted on 2013-05-30
1
362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

615 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