s***y 发帖数: 352 | 1 unix下误删了一众文件(rm),怎么恢复啊?那可是我的project啊.
我好土啊 |
m*****e 发帖数: 4193 | 2 ask you sysadmin for backup.
【在 s***y 的大作中提到】 : unix下误删了一众文件(rm),怎么恢复啊?那可是我的project啊. : 我好土啊
|
s***y 发帖数: 352 | 3 So I have to wait till tomorrow? You mean it doesn't matter?
Thx le
【在 m*****e 的大作中提到】 : ask you sysadmin for backup.
|
m*****e 发帖数: 4193 | 4 I mean it doesn't matter if your sysadmin _has_ backups. Even he does,
you lost all the work since last backup.
【在 s***y 的大作中提到】 : So I have to wait till tomorrow? You mean it doesn't matter? : Thx le
|
b****e 发帖数: 985 | 5 .cshrc里面加个爱你饿死
alias rm rm -i
每次rm就都会问你要confirmation,
误伤好人的几率就小多乐 |
m*****e 发帖数: 4193 | 6 until you are bored and get used to using 'rm -rf'.
One primary responsibility of a sysadmin is to backup regularly.
【在 b****e 的大作中提到】 : .cshrc里面加个爱你饿死 : alias rm rm -i : 每次rm就都会问你要confirmation, : 误伤好人的几率就小多乐
|
q**w 发帖数: 11 | 7 Ask your support. usually they do incremental backup daily, at least weekly.
Good luck.
【在 s***y 的大作中提到】 : unix下误删了一众文件(rm),怎么恢复啊?那可是我的project啊. : 我好土啊
|
s***y 发帖数: 352 | 8 Thanks to all of you who gave me kind help. The administrative
solved the problem for me this morning.
thanks soooooo much. |
c*****t 发帖数: 1879 | 9 The argument against rm -i:
1. It gives false sense of security.
2. It is extremely tedious.
3. Sooner or later, one gets used to hit y automatically after
rm -i, defeating the original purpose.
On user's end, one should backup often.
Another lesson I learned the hardway was
rm * .o
I put such commands in scripts/Makefiles since then...
【在 b****e 的大作中提到】 : .cshrc里面加个爱你饿死 : alias rm rm -i : 每次rm就都会问你要confirmation, : 误伤好人的几率就小多乐
|
s*****g 发帖数: 219 | 10 删了就删了,没法恢复。和DOS一样。想用回收站,
用XWindow吧。
【在 s***y 的大作中提到】 : unix下误删了一众文件(rm),怎么恢复啊?那可是我的project啊. : 我好土啊
|