2009-09-05

7zip cmd goodies

Some simple magic spells to ease file management under windows. Here goes...
  • compressing all the dirs in the CWD to respectively named 7z archives somewhere else:
    set DEST=C:\some\where\else\note\the\trailing\slash\
    for /D %%i in (./*) do @7z a -mx=9 %DEST%%%i.7z %%i
UPD: more goodies are posted separately with the label 7z

No comments: