Below is a way to do automatically sync on Windows using a tool and run a script before the Logoff operation.
- Microsoft has a tool called SyncToy (or other one: DirSyncPro)
* create a batch file with :
rem using DirSyncPro
rem Using SyncToy
echo "Starting sync: ">> c:\Sync.txt
date /t >> c:\Sync.txt
time /t >> c:\Sync.txt
"C:\Program Files\SyncToy 2.0\SyncToyCmd.exe" -R
echo "Ended sync: ">> c:\Sync.txt
time /t >> c:\Sync.txt
To run it before logoff:
-http://support.microsoft.com/kb/307882 :
* run gpedit.msc
* User Configuration > Windows Settings > Scripts (Logon/Logoff)
* double click on Logoff script and Add the batch file
miercuri, 30 septembrie 2009
marți, 29 septembrie 2009
jEdit
*Plugins
-ProjectViewer, SideKick, XML, FTP
*How to beautify other files?
- Global Options > Editing > Change settings for mode
-Note the "File name glob"
-Note the "First line glob"
Ex: to have on "v8_config.cfg" same beautify as on shell script, select it from modes list, add "cfg" in "File name glob" and remove the "First line glob" value (let it empty)
-activate Backup : Utilities > Global Settings > Saving & Backup :
* deactivate "Two-stage" ( since we work a lot on Unix)
* add numbers at suffix: remove the suffix character ; set the Max Number of Backups
*Macros->Misc->Hypersearch Result to Buffer.
-ProjectViewer, SideKick, XML, FTP
*How to beautify other files?
- Global Options > Editing > Change settings for mode
-Note the "File name glob"
-Note the "First line glob"
Ex: to have on "v8_config.cfg" same beautify as on shell script, select it from modes list, add "cfg" in "File name glob" and remove the "First line glob" value (let it empty)
-activate Backup : Utilities > Global Settings > Saving & Backup :
* deactivate "Two-stage" ( since we work a lot on Unix)
* add numbers at suffix: remove the suffix character ; set the Max Number of Backups
*Macros->Misc->Hypersearch Result to Buffer.
Abonați-vă la:
Postări (Atom)