This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

can i?

Old posts that have not been replied to for several years.
Locked
u
up^to^you

can i?

Post by up^to^you »

Help!! can I undelete a file that i have deleted in my shell? I dont mean to delete it but...i think i've been so sleepy so it deleted! :

I'm using autobotchk file for my eggdrop crontab, but file name botchk has been deleted :o , is that okay? I mean..the crontab will still work if my eggdrop die isnt?? :o :-? :o

or is there any command that can undelete something that i've been delete?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is no undelete command.

There are 2 options to remidy this.

1: The hardest, most costly and least likely to happen.
Ask the shell provider to pull a backup off his backups.

Not all providers do backups.
Those that do, most are kept off-site.
They will usualy charge for the time required to do such a task.

2: Simplest
Type "crontab -d" at the shell
This will delete your existing crontab record, that calls the botchk script.
Now run autobotchk again, thus giving you a nice new copy.
u
up^to^you

Post by up^to^you »

thx :)
u
up^to^you

it didnt work

Post by up^to^you »

I typed it, and this is my shell given to me:

-bash-2.05b$ crontab -d
crontab: illegal option -- d
crontab: usage error: unrecognized option
usage: crontab [-u user] file
crontab [-u user] { -e | -l | -r }


:-? :-? :( :o :( :cry:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

It's the "crontab -r" option.

This is one of the issues with different distrobutions today.
Locked