after running this code terminal asks me "is this a single-disk archive : y/n". where I need to type y and press enter but I want to do this from the code I am running. In other words I don't want to manually press y and then enter key.
rm -rf fireDataSet1
mkdir fireDataSet1
cd fireDataSet1
cp '/content/fire_dataset/fire image dataset2/fire image dataset.z80' dataset.zip
zip -r -FF dataset.zip --out dataset.zip.fixed
unzip dataset.zip.fixed
Asked by Emam Kownine
(1 rep)
Sep 16, 2022, 08:52 AM
Last activity: May 20, 2025, 04:43 PM
Last activity: May 20, 2025, 04:43 PM