PHP / Linux Shell Script to Move Files From Nested Folders and Rename Them
$10-30 USD
Ukończony
Opublikowano ponad 8 lat temu
$10-30 USD
Płatne przy odbiorze
I have a directory that contains a set of nested directories that go several levels deep ( usually 3 levels ). In the very last sub directory there are some files, one is an XML file. I need all XML files moved to a one level directory (pre-determined), and renamed with a sequential prefix. All XML's have the same name ([login to view URL]), which is why I need them renamed with a unique prefix. The script must be able to run on UBUNTU server. I would prefer PHP code that I can modify later - a PHP script that executes a terminal command is fine.
Hello!
Could you please tell me, how do you need that predefined prefix to be set in the script? I assume there'll be something that also contains some dir name or something from the path, since you said all those files have the same name, because that way you can make sure files don't overlap. Moreover, I need that there are several checks to be performed, including one that the destination file don't already exist, or permissions on files etc. I plan on building a PHP script that you'll be able to hook into a cron job on your server.
Regards,
Dragos
$40 USD w 1 dzień
4,9 (255 opinii)
6,9
6,9
9 freelancerzy składają oferty o średniej wysokości $37 USD dla tej pracy
I'm PHP developer with HUNDREDS of completed projects that's why I'm sure you'll be impressed with my work.
I can create such PHP script in couple of hours and I can offer you best price here. All I need to start is milestone payment from you. You'll release it after you check everything on your side.
Thanks.
Roman
Hello,
I have more than 5 year exp in Web Development, Working in Magento,Wp,OpenCart. in these tech doing any level custom work. like custom theme, custom module,payment API, Mail-chimp API, Server side issue etc.
Dear Sir/ Madam,
Kindly check my bid & project completion ratio before awarding.
I'm really interested to work on this project, I can start the work now , and can provide the best services from my end.
Please come on chat to discuss more about the project.
Thanks & Regards
Prog2U