I am working on project where i need to create this kind of Folder structure with FTP Account. I just have FTP account detail and no access to the server,
I can connect with FTP and can create directory manually but i need to create such a folder structure within ftp root directory.
YYYY |_MM |_DD 2018 |_06 |_01 |_02 |_03 |_..............30 |_07 |_01 |_02 |_03 |_..............31
please advice what will be the best approach to finish it without manually creation of folder.
EDITED After some hint from comments/
I wrote this script to create the folder structure but the date concept didnt work with my scripts.
#/bin/bash for i in $(seq -w 12) do cd /home/user/upload/2018/ mkdir $i cd $i for j in $(seq -w 31) do mkdir $j done done