RE: My work-flow for dealing with backups from FrameMaker--getting rid of backups

2014-09-16 Thread Sharp, Amy
I like having backups available in case of crashes or other emergencies, so I 
don't want to turn them off. As it's also my habit to save different versions 
of an active FrameMaker project in different folders, backups are only required 
for those emergencies.

That makes a lot of clutter in the folder for my FM files, and there are times 
I need to see my files without the clutter. Deleting or moving backups is not 
easy if you have lots of files; you can reorder the files any way you like but 
the backups stay glued to their parent FM files.

To get rid of the backups temporarily, I wrote an old-fashioned batch (BAT) 
file that moves backup files to a folder on my C: drive (FM_Backup) and then 
deletes the log file. It takes only a few seconds to run, and leaves a pristine 
view of the FM files.

IMPORTANT: This only works when FrameMaker is closed because FM automatically 
regenerates backup files as soon as you touch an open file.

The code I use is below. You can modify it to delete the files instead of 
moving them, change the backup folder name, get rid of the log deletion, 
whatever you'd like.

1.  In Notepad or another text editor, copy the following lines:

  Move *.backup.fm C:\\FM_Backup
  Move *.backup.book C:\\FM_Backup
  pause
  Del *.log
  pause
  Exit

2.  Save the file as FM_backup.bat or any other name as long as it has a 
BAT extension.
3.  Create a backup folder on your C drive called FM_Backup.
You can name this folder anything as long as it matches the folder name in the 
BAT file.
4.  Copy or move the BAT file into the same folder as your working 
FrameMaker files.
IMPORTANT: You must insert a separate copy of the BAT file into every folder 
that contains your FrameMaker files.
5.  To run, double-click FM_backup.bat.
The pauses stop the program to provide feedback as it moves the files.
6.  Don't forget to delete the backup files when they are no longer needed, 
as the backup folder gets bloated quickly.

I especially like using this when I save different versions of an ongoing 
project. When I open a folder containing an earlier version, I only see the 
project files.

The code uses the simple DOS commands move, delete, pause, and exit. It doesn't 
save multiple versions of backups or work from any location except where the FM 
files are stored, but you could get fancy if you're inspired to take this to 
another level.

Amy Sharp
Geophysical Technical Writer
ConocoPhillips Co.
Work: 281-293-1819
amy.sh...@cop.com



___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


RE: My work-flow for dealing with backups from FrameMaker--getting rid of backups

2014-09-16 Thread Syed Zaeem Hosain (syed.hos...@aeris.net)
What you wrote is conceptually similar to what I do, except that I don't put 
the backup files into a single location on my disk drive.

As I described earlier, each document's main directory has a subdir just below 
where I am working, so it always puts the backup files only there. Hence the 
backed up files from different documents are always separated and easy to 
retrieve.

Plus, with my copy all approach (see below), using a single location would 
cause common file names to cause content to be trashed.

I do keep the BAT command file itself in a single location though - it is 
easily accessed from my DOS path as needed.

Here is my BAT command file. I use copy with the /Y option to overwrite. In 
it, I copy all the files - not just the FrameMaker ones - since there are other 
files there too (for example, .ini files from tools that are used within 
FrameMaker):

copy/y  *.*  .\Archive\
del  *.backup.*  *.log  *.tps  *.tpdf  *.bak

This gives me a clean working environment for each editing session.

Then, when I am done releasing a particular document, I run another BAT file 
finally that does the following:

rmdir/s  .\Archive\

The /S option is to delete subdirectories.

Z

From: framers-boun...@lists.frameusers.com 
[mailto:framers-boun...@lists.frameusers.com] On Behalf Of Sharp, Amy
Sent: Tuesday, September 16, 2014 8:20 AM
To: framers@lists.frameusers.com
Subject: RE: My work-flow for dealing with backups from FrameMaker--getting rid 
of backups

I like having backups available in case of crashes or other emergencies, so I 
don't want to turn them off. As it's also my habit to save different versions 
of an active FrameMaker project in different folders, backups are only required 
for those emergencies.

That makes a lot of clutter in the folder for my FM files, and there are times 
I need to see my files without the clutter. Deleting or moving backups is not 
easy if you have lots of files; you can reorder the files any way you like but 
the backups stay glued to their parent FM files.

To get rid of the backups temporarily, I wrote an old-fashioned batch (BAT) 
file that moves backup files to a folder on my C: drive (FM_Backup) and then 
deletes the log file. It takes only a few seconds to run, and leaves a pristine 
view of the FM files.

IMPORTANT: This only works when FrameMaker is closed because FM automatically 
regenerates backup files as soon as you touch an open file.

The code I use is below. You can modify it to delete the files instead of 
moving them, change the backup folder name, get rid of the log deletion, 
whatever you'd like.

1.  In Notepad or another text editor, copy the following lines:

Move *.backup.fm C:\\FM_Backup
Move *.backup.book C:\\FM_Backup
pause
Del *.log
pause
Exit

2.  Save the file as FM_backup.bat or any other name as long as it has a 
BAT extension.
3.  Create a backup folder on your C drive called FM_Backup.
You can name this folder anything as long as it matches the folder name in the 
BAT file.
4.  Copy or move the BAT file into the same folder as your working 
FrameMaker files.
IMPORTANT: You must insert a separate copy of the BAT file into every folder 
that contains your FrameMaker files.
5.  To run, double-click FM_backup.bat.
The pauses stop the program to provide feedback as it moves the files.
6.  Don't forget to delete the backup files when they are no longer needed, 
as the backup folder gets bloated quickly.

I especially like using this when I save different versions of an ongoing 
project. When I open a folder containing an earlier version, I only see the 
project files.

The code uses the simple DOS commands move, delete, pause, and exit. It doesn't 
save multiple versions of backups or work from any location except where the FM 
files are stored, but you could get fancy if you're inspired to take this to 
another level.

Amy Sharp
Geophysical Technical Writer
ConocoPhillips Co.
Work: 281-293-1819
amy.sh...@cop.commailto:amy.sh...@cop.com
___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


RE: My work-flow for dealing with backups from FrameMaker--getting rid of backups

2014-09-16 Thread Jaime Zuniga
Hi Amy,

I have been messing around with your batch file idea but I am having an issue 
with it.

I want to create a batch file to copy all files in the current directory EXCEPT 
for the actual batch file, and no matter what I do using the copy command it 
simply does not work. So, do you know how I can exclude the .bat file when 
copying files?

Thanks in advance,
Jaime


From: framers-boun...@lists.frameusers.com 
[mailto:framers-boun...@lists.frameusers.com] On Behalf Of Sharp, Amy
Sent: Tuesday, September 16, 2014 11:20 AM
To: framers@lists.frameusers.com
Subject: RE: My work-flow for dealing with backups from FrameMaker--getting rid 
of backups

I like having backups available in case of crashes or other emergencies, so I 
don't want to turn them off. As it's also my habit to save different versions 
of an active FrameMaker project in different folders, backups are only required 
for those emergencies.

That makes a lot of clutter in the folder for my FM files, and there are times 
I need to see my files without the clutter. Deleting or moving backups is not 
easy if you have lots of files; you can reorder the files any way you like but 
the backups stay glued to their parent FM files.

To get rid of the backups temporarily, I wrote an old-fashioned batch (BAT) 
file that moves backup files to a folder on my C: drive (FM_Backup) and then 
deletes the log file. It takes only a few seconds to run, and leaves a pristine 
view of the FM files.

IMPORTANT: This only works when FrameMaker is closed because FM automatically 
regenerates backup files as soon as you touch an open file.

The code I use is below. You can modify it to delete the files instead of 
moving them, change the backup folder name, get rid of the log deletion, 
whatever you'd like.

1.   In Notepad or another text editor, copy the following lines:

Move *.backup.fm C:\\FM_Backup
Move *.backup.book C:\\FM_Backup
pause
Del *.log
pause
Exit

2.   Save the file as FM_backup.bat or any other name as long as it has a 
BAT extension.
3.   Create a backup folder on your C drive called FM_Backup.
You can name this folder anything as long as it matches the folder name in the 
BAT file.
4.   Copy or move the BAT file into the same folder as your working 
FrameMaker files.
IMPORTANT: You must insert a separate copy of the BAT file into every folder 
that contains your FrameMaker files.
5.   To run, double-click FM_backup.bat.
The pauses stop the program to provide feedback as it moves the files.
6.   Don't forget to delete the backup files when they are no longer 
needed, as the backup folder gets bloated quickly.

I especially like using this when I save different versions of an ongoing 
project. When I open a folder containing an earlier version, I only see the 
project files.

The code uses the simple DOS commands move, delete, pause, and exit. It doesn't 
save multiple versions of backups or work from any location except where the FM 
files are stored, but you could get fancy if you're inspired to take this to 
another level.

Amy Sharp
Geophysical Technical Writer
ConocoPhillips Co.
Work: 281-293-1819
amy.sh...@cop.commailto:amy.sh...@cop.com



___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


[EXTERNAL]RE: My work-flow for dealing with backups from FrameMaker--getting rid of backups

2014-09-16 Thread Sharp, Amy
Syed,
Good stuff. This is why it's so nice to have a little DOS in your pocket so you 
can customize it for the way you work.

Jaime,
Are you copying *.*? That copies everything. I don't know of an exclusionary 
command with copy, but it may exist-I'm not an expert, I just troll the web 
until I find what I need. ;-)

For now, to copy everything except *.bat, you would need to specify only the 
file types to be copied, as in *.fm, *.backup.fm, *.backup.book, *.log, etc.

For example:
Copy *.backup.fm *.backup.book *.log  *.pdf .\ProjectBackup\


Amy Sharp
Geophysical Technical Writer
ConocoPhillips Co.
MO1050
Work: 281-293-1819
Mobile: 713-724-8485
amy.sh...@cop.com



___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


RE: [EXTERNAL]RE: My work-flow for dealing with backups from FrameMaker--getting rid of backups

2014-09-16 Thread Jaime Zuniga
Hi Amy,

Yes, sorry, I tried the *.* option to copy all files, and as I mentioned it 
copies ALL files including the .bat file. If I limit it to finding only the 
types of files I want to copy then it works, in my case*.xml. But it is rather 
limiting in the case that I had, say, 10 different file types I would have 
liked.

Anyway, I'll keep playing with it.

Thanks,
Jaime


From: framers-boun...@lists.frameusers.com 
[mailto:framers-boun...@lists.frameusers.com] On Behalf Of Sharp, Amy
Sent: Tuesday, September 16, 2014 3:34 PM
To: framers@lists.frameusers.com
Subject: [EXTERNAL]RE: My work-flow for dealing with backups from 
FrameMaker--getting rid of backups

Syed,
Good stuff. This is why it's so nice to have a little DOS in your pocket so you 
can customize it for the way you work.

Jaime,
Are you copying *.*? That copies everything. I don't know of an exclusionary 
command with copy, but it may exist-I'm not an expert, I just troll the web 
until I find what I need. ;-)

For now, to copy everything except *.bat, you would need to specify only the 
file types to be copied, as in *.fm, *.backup.fm, *.backup.book, *.log, etc.

For example:
Copy *.backup.fm *.backup.book *.log  *.pdf .\ProjectBackup\


Amy Sharp
Geophysical Technical Writer
ConocoPhillips Co.
MO1050
Work: 281-293-1819
Mobile: 713-724-8485
amy.sh...@cop.commailto:amy.sh...@cop.com



___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


Re: My work-flow for dealing with backups from FrameMaker--getting rid of backups

2014-09-16 Thread Böðvar Björgvinsson
Hi Jamie,

You could also add a couple of lines to the script:
cd to the drive you copy to, and from there
del the .bat file.

Cheers,

Bodvar






On Tue, Sep 16, 2014 at 7:04 PM, Jaime Zuniga jzun...@protranslating.com
wrote:

  Hi Amy,



 I have been messing around with your batch file idea but I am having an
 issue with it.



 I want to create a batch file to copy all files in the current directory
 EXCEPT for the actual batch file, and no matter what I do using the copy
 command it simply does not work. So, do you know how I can exclude the .bat
 file when copying files?



 Thanks in advance,

 Jaime





 *From:* framers-boun...@lists.frameusers.com [mailto:
 framers-boun...@lists.frameusers.com] *On Behalf Of *Sharp, Amy
 *Sent:* Tuesday, September 16, 2014 11:20 AM
 *To:* framers@lists.frameusers.com
 *Subject:* RE: My work-flow for dealing with backups from
 FrameMaker--getting rid of backups



 I like having backups available in case of crashes or other emergencies,
 so I don’t want to turn them off. As it’s also my habit to save different
 “versions” of an active FrameMaker project in different folders, backups
 are only required for those emergencies.



 That makes a lot of clutter in the folder for my FM files, and there are
 times I need to see my files without the clutter. Deleting or moving
 backups is not easy if you have lots of files; you can reorder the files
 any way you like but the backups stay glued to their parent FM files.



 To get rid of the backups temporarily, I wrote an old-fashioned batch
 (BAT) file that moves backup files to a folder on my C: drive (FM_Backup)
 and then deletes the log file. It takes only a few seconds to run, and
 leaves a pristine view of the FM files.



 IMPORTANT: This only works when FrameMaker is closed because FM
 automatically regenerates backup files as soon as you touch an open file.



 The code I use is below. You can modify it to delete the files instead of
 moving them, change the backup folder name, get rid of the log deletion,
 whatever you’d like.



 1.   In Notepad or another text editor, copy the following lines:



 Move *.backup.fm C:\\FM_Backup

 Move *.backup.book C:\\FM_Backup

 pause

 Del *.log

 pause

 Exit



 2.   Save the file as “FM_backup.bat” or any other name as long as it
 has a BAT extension.

 3.   Create a backup folder on your C drive called “FM_Backup.”
 You can name this folder anything as long as it matches the folder name in
 the BAT file.

 4.   Copy or move the BAT file into the same folder as your working
 FrameMaker files.
 IMPORTANT: You must insert a separate copy of the BAT file into every
 folder that contains your FrameMaker files.

 5.   To run, double-click “FM_backup.bat.”
 The pauses stop the program to provide feedback as it moves the files.

 6.   Don’t forget to delete the backup files when they are no longer
 needed, as the backup folder gets bloated quickly.



 I especially like using this when I save different “versions” of an
 ongoing project. When I open a folder containing an earlier version, I only
 see the project files.



 The code uses the simple DOS commands move, delete, pause, and exit. It
 doesn’t save multiple versions of backups or work from any location except
 where the FM files are stored, but you could get fancy if you’re inspired
 to take this to another level.



 *Amy Sharp*

 Geophysical Technical Writer

 ConocoPhillips Co.

 Work: 281-293-1819

 amy.sh...@cop.com







 ___


 You are currently subscribed to framers as bod...@gmail.com.

 Send list messages to framers@lists.frameusers.com.

 To unsubscribe send a blank email to
 framers-unsubscr...@lists.frameusers.com
 or visit
 http://lists.frameusers.com/mailman/options/framers/bodvar%40gmail.com

 Send administrative questions to listad...@frameusers.com. Visit
 http://www.frameusers.com/ for more resources and info.


___


You are currently subscribed to framers as arch...@mail-archive.com.

Send list messages to framers@lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.