blog:x68_directory_backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blog:x68_directory_backup [2021/04/06 14:35] – created johnblog:x68_directory_backup [2021/04/06 16:41] (current) – [Pre-requisites] john
Line 14: Line 14:
  
 Rather than doing this by hand for all the hundreds of games folders on the emulated hard drive, I came up with an automated solution using a few small extra commands. Rather than doing this by hand for all the hundreds of games folders on the emulated hard drive, I came up with an automated solution using a few small extra commands.
 +
 +==== Pre-requisites ====
 +
 +The following small utilities need to be dropped in to your ''A:\Bin'' folder on the X68000:
 +
 +   * {{:blog:x68k:zip.zip|}}, Note: this is not a zip file, just rename ''zip.zip'' to ''zip.x''
 +   * {{:blog:x68k:bash.zip|}}
 +   * {{:blog:x68k:ls.zip|}}
 +   * {{:blog:x68k:tr.zip|}}
 +
 +==== Bash script ====
  
 <code> <code>
Line 60: Line 71:
 echo "Now run cmd.bat" echo "Now run cmd.bat"
 </code> </code>
 +
 +You run the script with bash: ''bash.x pack.sh'', and it will generate a batch file for you with all of the commands to archive your directories. Simply run the batch file and it will zip them up, dropping them in to the specified output folder.
 +
 +The script will of course work on both emulated and real hardware and preserves any S-JIS filenames present.
  • blog/x68_directory_backup.1617716122.txt.gz
  • Last modified: 2021/04/06 14:35
  • by john