vim备份文件转存

chenlei posted @ 2016年3月16日 18:28 in Myidea with tags vim vim备份 vim备份文件转存 , 1774 阅读

WINDOWS下:

$ copy C:\windows\vim.bat C:\windows\vi.bat

在:eof 下面加入一行

:eof
if exist "%VIMARGS%~" move %VIMARGS%~ C:\tmp >> C:\tmp\vimtmp.txt
set VIMARGS=

优化后的2.0版本,可保留近期的三份备份(保险啊)

set DIR_MOVE=临时文件保存路径
set VIMARGS=%VIMARGS: =%
if %VIMARGS%==* goto vimend
echo "%VIMARGS%" >> %DIR_MOVE%\vimtmp.txt
if not exist "%VIMARGS%~" goto vimend
if exist "%DIR_MOVE%\%VIMARGS%~2" del %DIR_MOVE%\%VIMARGS%~2 >> %DIR_MOVE%\vimtm
p.txt
if exist "%DIR_MOVE%\%VIMARGS%~1" rename %DIR_MOVE%\%VIMARGS%~1 %VIMARGS%~2 >> %
DIR_MOVE%\vimtmp.txt
if exist "%DIR_MOVE%\%VIMARGS%~" rename %DIR_MOVE%\%VIMARGS%~ %VIMARGS%~1 >> %DI
R_MOVE%\vimtmp.txt
if exist "%VIMARGS%~" move %VIMARGS%~ %DIR_MOVE% >> %DIR_MOVE%\vimtmp.txt
:vimend
set DIR_MOVE=

  • 无匹配
Avatar_small
ICEGATE ePayment 说:
2022年7月31日 13:43

ICEGATE ePayment is an online portal for easy payment of customs challan. Taxpayers who associates with the Goods movement must have to get their challans and paid with ICEGATE before their goods imported or exported from consignment. The custom duty charges laid based on the product size and goods brands, ICEGATE ePayment which are mandatory to pay at the custom gate. Thus CBIC ePayment gives a direct portal to make this without and list all your challans at one place. Just simply login with the IEC code and you can find all your channels listed in one page. As well the design of ICEGATE ePayment will help you pay for all challans in one click by using your bank payment gateway.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter