unlink(inode)? or how to remove file with '/' in its name
carl brandauer
cbrandau at isis.cs.du.edu
Sun Oct 21 04:21:46 AEST 1990
First, why write a C program when 'ls -i' will return the inumber (NOT inode)
of the file. Once you have the inumber (say nnn),
find . -inum nnn -exec rm {} \;
will do what you need.
More information about the Comp.unix.questions
mailing list