hey guys.
please help me out ( i dont know if i post this in a right thread)
I am after a script that will sort files in to folders from a filename.
The script has to connect to FTP, go into the folders and then move the content into different folders taken from the file name, and delete folders with content if older than 90 days.
Example:
ftp://1 or 2 or 3 or 4 ......... /78A5DD008D45(office)_1_20120220091819_8709.jpg
has to be moved to:
ftp://picture/office/2012/02 or feb/20/09/18-19_8709.jpg
78A5DD008D45(office)_1_ 2012/02/20 09:18:19_8709.jpg
^dont care ........^ first folder ^date and time stamp ^file number
please help me out ( i dont know if i post this in a right thread)
I am after a script that will sort files in to folders from a filename.
The script has to connect to FTP, go into the folders and then move the content into different folders taken from the file name, and delete folders with content if older than 90 days.
Example:
ftp://1 or 2 or 3 or 4 ......... /78A5DD008D45(office)_1_20120220091819_8709.jpg
has to be moved to:
ftp://picture/office/2012/02 or feb/20/09/18-19_8709.jpg
78A5DD008D45(office)_1_ 2012/02/20 09:18:19_8709.jpg
^dont care ........^ first folder ^date and time stamp ^file number