Use ipynb variable for find command
This commit is contained in:
parent
3847099e0c
commit
24f3daf9b9
|
@ -1215,8 +1215,7 @@
|
|||
"!mkdir -p \"{datetime_str}/log\"\n",
|
||||
"!cd \"{repo_storage_dir}/stable-diffusion-webui/log/\" && mv * \"{export_storage_dir}/{datetime_str}/log\"\n",
|
||||
"!cd \"{repo_storage_dir}/stable-diffusion-webui/outputs/\" && mv * \"{export_storage_dir}/{datetime_str}\"\n",
|
||||
"!TEMP=\"{export_storage_dir}/{datetime_str}\" # find command has issues with ipynb variables??\n",
|
||||
"!find \"{TEMP}\" -name .ipynb_checkpoints -exec rm -rf \"{}\" +\n",
|
||||
"!find \"{export_storage_dir}/{datetime_str}\" -name .ipynb_checkpoints -exec rm -rf {{}} +\n",
|
||||
"!7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=32m -ms=on \"{datetime_str}.7z\" \"{export_storage_dir}/{datetime_str}/\""
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue