Sponsored Content
Top Forums Shell Programming and Scripting Is there a way to recover files deleted using rm command??? Post 302114412 by reborg on Sunday 15th of April 2007 04:23:57 PM
Old 04-15-2007
No, there is no way to do so.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Recover deleted files

Is there a Unix tool, like in Novell, to recover accidentally deleted files? (2 Replies)
Discussion started by: kuultak
2 Replies

2. AIX

recover deleted files

How to recover deleted files in AIX ? (1 Reply)
Discussion started by: vjm
1 Replies

3. Linux

recover deleted files from memory stick

I'm running Fedora Core4. I deleted images off of my Sony DSC-P73 digital camera's memory stick. I'm looking for a *nix tool to recover the photos from the memory stick. Does anyone know of such a tool? (2 Replies)
Discussion started by: dangral
2 Replies

4. UNIX for Dummies Questions & Answers

how to recover deleted files in unix

Hi Experts, by mistake i deleted some files that are very important to the project. is there any way that i can recover those files,there is no backup for that but the details of the file we know. This will be a great help. Thanks (5 Replies)
Discussion started by: namishtiwari
5 Replies

5. Shell Programming and Scripting

Need to Recover Deleted Files

Hi, By mistake, executed the following command : rm -rf * and ALL files got deleted. But I need to get back these files as they are very very important. Please help me how to recover this file. Its Urgent for me please. Thanks in advance. (6 Replies)
Discussion started by: unx100
6 Replies

6. UNIX for Advanced & Expert Users

Recover Deleted Folder using rm command

Hi All, I accidentally deleted a important folder using rm command. Can i recover that folder. I don't have any backup mechanism. Please suggest.... its very urgant..Plz (1 Reply)
Discussion started by: vijay.gandra
1 Replies

7. Red Hat

Recover deleted files from linux server machine..

Hi, I am working Linux server machine. Somebody by mistake(or may be knowingly) deleted few folders and files from the machine. How is this possible to recover those files and folders????:confused: I normally logged in through Putty and winscp only. And don't have any history for putty... (8 Replies)
Discussion started by: pamu
8 Replies

8. Linux

Recover deleted files on Linux server

Hi Guys, Greetings!. I have executed the cronjob that runs the shell script which is in directory.When the cronjob was executed , I found that the directory where the script resides has got deleted. Note: The directory was deleted with other use not root user. The... (9 Replies)
Discussion started by: reminisce
9 Replies
UNDELETE(2)						      BSD System Calls Manual						       UNDELETE(2)

NAME
undelete -- attempt to recover a deleted file LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> int undelete(const char *path); DESCRIPTION
The undelete() system call attempts to recover the deleted file named by path. Currently, this works only when the named object is a white- out in a union file system. The system call removes the whiteout causing any objects in a lower layer of the union stack to become visible once more. Eventually, the undelete() functionality may be expanded to other file systems able to recover deleted files such as the log-structured file system. RETURN VALUES
The undelete() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi- cate the error. ERRORS
The undelete() succeeds unless: [ENOTDIR] A component of the path prefix is not a directory. [ENAMETOOLONG] A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. [EEXIST] The path does not reference a whiteout. [ENOENT] The named whiteout does not exist. [EACCES] Search permission is denied for a component of the path prefix. [EACCES] Write permission is denied on the directory containing the name to be undeleted. [ELOOP] Too many symbolic links were encountered in translating the pathname. [EPERM] The directory containing the name is marked sticky, and the containing directory is not owned by the effective user ID. [EINVAL] The last component of the path is '..'. [EIO] An I/O error occurred while updating the directory entry. [EROFS] The name resides on a read-only file system. [EFAULT] The path argument points outside the process's allocated address space. SEE ALSO
unlink(2) HISTORY
The undelete() system call first appeared in 4.4BSD-Lite. BSD
January 22, 2006 BSD
All times are GMT -4. The time now is 10:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy