undelete in FreeBSD?
karel at inetis.com
Tue Jul 26 09:14:09 GMT 2005
> this tip is taken from BSD hacks
I do not believe this! This girl literally stole my script,
traveled back through time to cover the tracks and made an
article out of her shameless act :)
Anyway, here's the original version of 'the trash':
# Move files in a trash folder.
if [ ! -d $trash_root ]; then
mkdir -p $trash_root
if [ -e $trash_dest ]; then
echo "Ups, $trash_dest exists!"
mv $@ $trash_dest/
echo "Files trashed."
More information about the freebsd-questions