sav

Package: WA2L/WinTools 1.2.08
Section: General Commands (1)
Updated: 02 May 2022
Index Return to Main Contents

 

NAME

sav - create a copy of file(s) with a date in file name

 

SYNOPSIS

WA2LWinTools/bin/sav [ -h | -i | -u | -V ]

sav [ -d ] file...

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

save (create a copy of) one or more files by adding a date to the file name before the file suffix.

If the SHIFT key is pressed, the original file is opened in the associated application after a successful save of the file.

Examples (executed on December 6th, 2014) without pressing the CONTROL key:

  budgets.xlsx               ==>  budgets.20141206.xlsx
  book.v1.docx               ==>  book.v1.20141206.docx
  anycalc.20140115.xlsx      ==>  anycalc.20141206.xlsx
  logbook.201401151259.xlsx  ==>  logbook.20141206.xlsx
  agendas.15012014.xlsx      ==>  agendas.20141206.xlsx
  todolst.125915012014.xlsx  ==>  todolst.20141206.xlsx

Examples (executed on December 6th, 2014) when pressing the CONTROL key:

  budgets.xlsx               ==>  budgets.06122014.xlsx
  book.v1.docx               ==>  book.v1.06122014.docx
  anycalc.20140115.xlsx      ==>  anycalc.06122014.xlsx
  logbook.201401151259.xlsx  ==>  logbook.06122014.xlsx
  agendas.15012014.xlsx      ==>  agendas.06122014.xlsx
  todolst.125915012014.xlsx  ==>  todolst.06122014.xlsx

 

OPTIONS

-h
usage message.

-i
install the sav command as menu point 'sav' to the 'Send To' context menu in 'Windows Explorer'.

-u
uninstall the sav shortcut from the 'Send To' context menu in 'Windows Explorer'.

-V
print program version.

-d
save the file into the .sav/ sub-directory and not alongside to the given file.

file...
list of files of which to create a copy. When installed in the 'Send To' menu the selected file(s) in 'Windows Explorer' are passed as a list of files to the sav command.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

4
usage message displayed.

5
version message displayed.

 

FILES

-

 

EXAMPLES

-

 

SEE ALSO

wintoolsintro(1), savnow(1), config(1m), vcp(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

sav was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2022 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:32:55 GMT, September 14, 2024