06-27-2012
In general, the only way to restore a delete file on *nix environment is, take from backup (There must be some backup process if its a real system).
You might look at the following links.
Thread1
Thread2
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I know that inode for each file is unique, but is it the for the directory? So far I found different directories has the same inode nubmer when you do ls -i, could some one explain why? Thanks a lot. (9 Replies)
Discussion started by: nj302
9 Replies
2. Filesystems, Disks and Memory
as kernel keeps track of user activities on a file by its INODE number and I node table .
what is the structure of Inode table. and where does this Inode table mapped into?user space or kernel space?
is the Inode Number is fixed for a file till its deletion?
thanks (1 Reply)
Discussion started by: compbug
1 Replies
3. UNIX for Advanced & Expert Users
Hi all
when I execute pmap command on one of my daemon process, I am able to see the following output.
Address Kbytes RSS Anon Locked Mode Mapped File
00010000 40 40 - - r-x-- irs026bmd
00028000 56 56 16 - rwx-- irs026bmd
00036000... (3 Replies)
Discussion started by: axes
3 Replies
4. UNIX for Dummies Questions & Answers
How we can know number of inode present in my Disk including free and occupied.
Is there any tool or program to know how much free inode are there in inode free list . (2 Replies)
Discussion started by: mr_deb
2 Replies
5. Filesystems, Disks and Memory
At risk of twisting the rules to nearly the point of breaking (if you think this goes too far mods, I apologise and accept that this should be deleted), I'm hoping someone might be able to cast a little light on the following problem regarding hard links to files.
... (6 Replies)
Discussion started by: Smiling Dragon
6 Replies
6. Solaris
Hi Gurus
I want to know the command & tips regarding, how to increase or decrease inode number of the particular ufs filesystem. Is it possible to do it in a live/production environment.
Regards (3 Replies)
Discussion started by: girish.batra
3 Replies
7. AIX
How to get the filename of which has been deleted if I know the inode number.
i can use the command "istat" to get the inode number of the file.
# istat
/proc//fd/x
If this file has been deleted,but the process of this file has not been closed and handle has not been released ,so this... (3 Replies)
Discussion started by: JoyOnLine
3 Replies
8. Shell Programming and Scripting
Hi all,
I am struggling to change the content of a file without changing the inode number. The exact issue is as below.
I have a file name test.bak which has 100 lines of text.
I am trying to to delete the first 90 lines of the text in the file.
I know that using sed/awk/head/tail I can... (3 Replies)
Discussion started by: sathishkmrv
3 Replies
9. Red Hat
Hi,
I have created a file abc.log in Redhat Linux.
Inode number for a file get changes every time i update the file using vi editor.
Is there any setting that can be made , such that inode number never gets changed?
Or if we cannot restrict from inode number getting changed , is... (9 Replies)
Discussion started by: raghu.amilineni
9 Replies
10. Linux
Hi,
I have created a file a.txt in Redhat Linux.
Inode number for a file changes every time i update the file using vi editor , gedit etc.
Is there any setting that can be made , such that inode number never changes as that is supposed to be the expected behavior?
Or if we cannot... (13 Replies)
Discussion started by: srirammanohar
13 Replies
wdel(1) Internet Applications - FTP wdel(1)
NAME
wdel - A wget-like program for deleting files on ftp servers
SYNOPSIS
wdel [option]... [URL [file]...]...
DESCRIPTION
Wdel is a free utility that is able to delete files on an ftp server.
Wdel is non-interactive and background-capable. It can delete files or whole directories and is meant to be a robust client even for unsta-
ble connections and will therefore retry to delete a file, if the connection broke.
Wdel supports connections through proxies, allowing you to use it in an environment that can access the internet only via a proxy or to
provide anonymity by hiding your ip-address to the server. For SOCKSv5-proxies Wdel supports also listening mode, allowing you to use
port-mode ftp through a proxy (useful if the remote ftp is behind a firewall or a gateway).
URL-Input-Handling
URLs are recognized by the ftp://-prefix.
Wdel first reads the URLs from the command line, and associates every file with the last URL until a new URL is found (note that this is
different from wput). Then, it reads the --input-file (if any) and parses the URLs in the same way. So you can specify e.g. one URL and
read all filenames from a file.
If there are no explicit filenames given for a singe URL, then the last part of the URL is taken to be the file/directory to be deleted. If
there are filenames, then the last part of the URL is considered to be the directory where these files reside in. Slashes at the end of the
URL or the filename (in case it is a directory to be deleted) are ignored.
OPTIONS
There are no special options introduced by Wdel. All of Wput's options may be supplied, although some will not be of any effect because
they do not apply for the process of deleting files. Please see wput(1) for a description of the options.
SEE ALSO
Many options can be set in a wputrc file. For its documentation consult the sample file provided by Wput.
wput(1) describes all setable options. Not all apply for wdel too though.
AUTHOR
Wdel is written by Hagen Fritsch <fritsch+wdel-man@in.tum.de> and Jan Larres <jan@majutsushi.net>
Hagen Fritsch, Jan Larres 0.6.2 wdel(1)