Hi everyone,
I don't know how to use the confirmdir command.
Here is in what I want to use it :
I am double looping over folders containing folders:
year folders 2012 to 2016 and in each year folder there are month folders.
The 2016 folder contains months from January to June.
Now I would like to execute some code after the double loop. But, because when I change directory to July it gives me an error, the code rest of the code is not executed.
I think the command I need is confirmdir but I don't know how to use it.
Could anyone help with this?
Many thanks,
I don't know how to use the confirmdir command.
Here is in what I want to use it :
I am double looping over folders containing folders:
year folders 2012 to 2016 and in each year folder there are month folders.
The 2016 folder contains months from January to June.
Now I would like to execute some code after the double loop. But, because when I change directory to July it gives me an error, the code rest of the code is not executed.
I think the command I need is confirmdir but I don't know how to use it.
Could anyone help with this?
Many thanks,
Comment