Hi Jussi,
I have added the following line to the Python 2.x and Python 3.x versions of the backup script.
if current_dir != "": shutil.copy2(fullfilename, backup_filepath)
This was needed to avoid an exception that was being generated when a new file was created (e.g. ' untitled.txt '), some ...
Search found 11 matches
- Sun Jul 02, 2017 2:33 pm
- Forum: Scripts
- Topic: Versioned Backup Files
- Replies: 10
- Views: 48572
- Mon Jun 19, 2017 12:03 pm
- Forum: Scripts
- Topic: Versioned Backup Files
- Replies: 10
- Views: 48572
Re: Versioned Backup Files
This is a more elaborate Python 3.x version of the versioned backup script incorporating eight different backup modes .
Each backup mode stores the time stamped backup file in a directory conforming to a particular file extension and/or date hierarchy.
Choose the backup mode that suits your needs ...
Each backup mode stores the time stamped backup file in a directory conforming to a particular file extension and/or date hierarchy.
Choose the backup mode that suits your needs ...
- Mon Jun 19, 2017 12:01 pm
- Forum: Scripts
- Topic: Versioned Backup Files
- Replies: 10
- Views: 48572
Re: Versioned Backup Files
This is a more elaborate Python 2.x version of the versioned backup script incorporating eight different backup modes .
Each backup mode stores the time stamped backup file in a directory conforming to a particular file extension and/or date hierarchy.
Choose the backup mode that suits your needs ...
Each backup mode stores the time stamped backup file in a directory conforming to a particular file extension and/or date hierarchy.
Choose the backup mode that suits your needs ...
- Sun Jun 18, 2017 12:41 am
- Forum: Scripts
- Topic: Versioned Backup Files
- Replies: 10
- Views: 48572
Re: Versioned Backup Files
No worries Jussi.
Glad to contribute something to the amazing Zeus editor !
Just for completeness, here is the old Python 2.x version of the backup script incorporating your subsequent mods
for any Zeus users who may be still using an old V3.97 version.
Summary
'Zeus_Versioned_Backup_V397.py ...
Glad to contribute something to the amazing Zeus editor !
Just for completeness, here is the old Python 2.x version of the backup script incorporating your subsequent mods
for any Zeus users who may be still using an old V3.97 version.
Summary
'Zeus_Versioned_Backup_V397.py ...
- Sat Jun 17, 2017 3:43 pm
- Forum: Scripts
- Topic: Versioned Backup Files
- Replies: 10
- Views: 48572
Re: Versioned Backup Files
Summary
'Zeus_Versioned_Backup_V397.py' - Python 2.x version for use with Zeus V3.97j (previous reply)
'Zeus_Versioned_Backup_V398.py ' - Python 3.x version for use with Zeus V3.98j (this reply)
'Zeus_Versioned_Backup_V398.py' - below ...
'Zeus_Versioned_Backup_V397.py' - Python 2.x version for use with Zeus V3.97j (previous reply)
'Zeus_Versioned_Backup_V398.py ' - Python 3.x version for use with Zeus V3.98j (this reply)
'Zeus_Versioned_Backup_V398.py' - below ...
- Sat Jun 17, 2017 3:34 pm
- Forum: Scripts
- Topic: Versioned Backup Files
- Replies: 10
- Views: 48572
Re: Versioned Backup Files
The Python 2.x code listed in the CODE panel is called 'Zeus_Versioned_Backup_V397.py ' and is a modified version of the original ' Versioned Backup Files Macro ' macro script and can be used with Zeus versions such as Zeus V3.97j.
The original ' Versioned Backup Files Macro ' was initially tried ...
The original ' Versioned Backup Files Macro ' was initially tried ...
- Mon May 16, 2011 2:10 am
- Forum: Comments and Suggestions
- Topic: Zeus beats them all !
- Replies: 7
- Views: 38494
- Tue May 10, 2011 12:58 am
- Forum: Comments and Suggestions
- Topic: Zeus beats them all !
- Replies: 7
- Views: 38494
- Fri May 06, 2011 5:34 am
- Forum: Comments and Suggestions
- Topic: Zeus beats them all !
- Replies: 7
- Views: 38494
Zeus beats them all !
Hi,
I just wanted to say that being another one of the older generation of
original BRIEF users and after having used CRISP and ULTRAEDIT for
years, I have finally found an editor that takes me back to my happy
BRIEF days - i.e ZEUS .
And all I had to do was click the mouse 5 times in Zeus to set ...
I just wanted to say that being another one of the older generation of
original BRIEF users and after having used CRISP and ULTRAEDIT for
years, I have finally found an editor that takes me back to my happy
BRIEF days - i.e ZEUS .
And all I had to do was click the mouse 5 times in Zeus to set ...
- Fri May 06, 2011 4:18 am
- Forum: General
- Topic: Read only mode help
- Replies: 3
- Views: 9907
- Thu May 05, 2011 5:09 am
- Forum: General
- Topic: Read only mode help
- Replies: 3
- Views: 9907
Read only mode help
The following command will open file "testfile.txt" and allow me to edit it :
"C:\Program Files\Zeus\zeus.exe" testfile.txt
but how do I open a file in read only mode from the command line ?
I cannot seem to find a Zeus command line option to do it.
I had thought there might have been the ...
"C:\Program Files\Zeus\zeus.exe" testfile.txt
but how do I open a file in read only mode from the command line ?
I cannot seem to find a Zeus command line option to do it.
I had thought there might have been the ...