#!/bin/sh

mv "Fallacies of Distributed Computing/" "01. Fallacies of Distributed Computing/"
cd "01. Fallacies of Distributed Computing/"
mv "IntroductionSystemsvsApplications.mp4" "01. IntroductionSystemsvsApplications.mp4"
mv "Fallacy1Thenetworkisreliable.mp4" "02. Fallacy1Thenetworkisreliable.mp4"
mv "Fallacy2Latencyisntaproblem.mp4" "03. Fallacy2Latencyisntaproblem.mp4"
mv "Fallacy3Bandwidthisntaproblem.mp4" "04. Fallacy3Bandwidthisntaproblem.mp4"
mv "Fallacy4Thenetworkissecure.mp4" "05. Fallacy4Thenetworkissecure.mp4"
mv "Fallacy5Thenetworktopologywontchange.mp4" "06. Fallacy5Thenetworktopologywontchange.mp4"
mv "Fallacy6Theadminwillknowwhattodo.mp4" "07. Fallacy6Theadminwillknowwhattodo.mp4"
mv "Fallacy7Transportcostisntaproblem.mp4" "08. Fallacy7Transportcostisntaproblem.mp4"
mv "Fallacy8Thenetworkishomogeneous.mp4" "09. Fallacy8Thenetworkishomogeneous.mp4"
mv "Summary8fallaciesofdistributedcomputing.mp4" "10. Summary8fallaciesofdistributedcomputing.mp4"
mv "Fallacy9Thesystemisatomic.mp4" "11. Fallacy9Thesystemisatomic.mp4"
mv "Fallacy10Towardsabetterdevelopmentprocess.mp4" "12. Fallacy10Towardsabetterdevelopmentprocess.mp4"
mv "Fallacy10Thesystemisfinished.mp4" "13. Fallacy10Thesystemisfinished.mp4"
mv "Fallacy11Thebusinesslogiccanandshouldbecentralized.mp4" "14. Fallacy11Thebusinesslogiccanandshouldbecentralized.mp4"

cd ..

mv "Coupling/" "02. Coupling/"
cd "02. Coupling/"
mv "Couplinginapplicationsafferentandefferent.mp4" "01. Couplinginapplicationsafferentandefferent.mp4"
mv "Couplinginsystemsplatformtemporalandspatial.mp4" "02. Couplinginsystemsplatformtemporalandspatial.mp4"
mv "Couplingsolutionsplatform.mp4" "03. Couplingsolutionsplatform.mp4"
mv "Couplingsolutionstemporalandspatial.mp4" "04. Couplingsolutionstemporalandspatial.mp4"
mv "CouplingsummaryandQA.mp4" "05. CouplingsummaryandQA.mp4"
cd ..

mv "Intro to messaging/" "03. Intro to messaging/"
cd "03. Intro to messaging/"
mv "Whymessaging.mp4" "01. Whymessaging.mp4"
mv "Onewayfireforget.mp4" "02. Onewayfireforget.mp4"
mv "PerformancemessagingvsRPC.mp4" "03. PerformancemessagingvsRPC.mp4"
mv "Serviceinterfacesvsstronglytypedmessages.mp4" "04. Serviceinterfacesvsstronglytypedmessages.mp4"
mv "Faulttolerance.mp4" "05. Faulttolerance.mp4"
mv "Auditing.mp4" "06. Auditing.mp4"
mv "WebServicesinvocation.mp4" "07. WebServicesinvocation.mp4"
cd ..

mv "Exercise: selling messaging to your organization/" "04. Exercise: selling messaging to your organization/"
cd "04. Exercise: selling messaging to your organization/"
mv "Exercisesellingmessagingtoyourorganizationoverview.mp4" "01. Exercisesellingmessagingtoyourorganizationoverview.mp4"
mv "Exercisesellingmessagingtoyourorganizationdiscussionpart1.mp4" "02. Exercisesellingmessagingtoyourorganizationdiscussionpart1.mp4"
mv "Exercisesellingmessagingtoyourorganizationdiscussionpart2.mp4" "03. Exercisesellingmessagingtoyourorganizationdiscussionpart2.mp4"
mv "Exercisesellingmessagingtoyourorganizationsummary.mp4" "04. Exercisesellingmessagingtoyourorganizationsummary.mp4"
cd ..

mv "Messaging patterns/" "05. Messaging patterns/"
cd "05. Messaging patterns/"
mv "Requestresponse.mp4" "01. Requestresponse.mp4"
mv "Publishsubscribe.mp4" "02. Publishsubscribe.mp4"
mv "Publishsubscribetopics.mp4" "03. Publishsubscribetopics.mp4"
mv "Dealingwithoutofordermessages.mp4" "04. Dealingwithoutofordermessages.mp4"
mv "Exercisedealingwithoutofordermessagesoverview.mp4" "05. Exercisedealingwithoutofordermessagesoverview.mp4"
mv "Exercisedealingwithoutofordermessagessolutions.mp4" "06. Exercisedealingwithoutofordermessagessolutions.mp4"
mv "Visualization.mp4" "07. Visualization.mp4"
mv "Messagingpatternssummary.mp4" "08. Messagingpatternssummary.mp4"
cd ..

mv "Architectural styles: Bus and Broker/" "06. Architectural styles: Bus and Broker/"
cd "06. Architectural styles: Bus and Broker/"
mv "Introtoarchitecturalstyles.mp4" "01. Introtoarchitecturalstyles.mp4"
mv "ArchitecturalstylesBroker.mp4" "02. ArchitecturalstylesBroker.mp4"
mv "ArchitecturalstylesBus.mp4" "03. ArchitecturalstylesBus.mp4"
mv "ArchitecturalstylesBusvsBroker.mp4" "04. ArchitecturalstylesBusvsBroker.mp4"
cd ..

mv "Intro to SOA/" "07. Intro to SOA/"
cd "07. Intro to SOA/"
mv "SOAtenets.mp4" "01. SOAtenets.mp4"
mv "Serviceexample.mp4" "02. Serviceexample.mp4"
mv "QA.mp4" "03. QA.mp4"
mv "ServicesmodellingWorkflowsboundariesandbusinesscapabilities.mp4" "04. ServicesmodellingWorkflowsboundariesandbusinesscapabilities.mp4"
mv "UIcompositionandBrandingservice.mp4" "05. UIcompositionandBrandingservice.mp4"
mv "ITOpsservice.mp4" "06. ITOpsservice.mp4"
cd ..

mv "Exercise: services modelling/" "08. Exercise: services modelling/"
cd "08. Exercise: services modelling/"
mv "Exerciseservicesmodellinghoteloverview.mp4" "01. Exerciseservicesmodellinghoteloverview.mp4"
mv "Exerciseservicesmodellinghotelsolutions.mp4" "02. Exerciseservicesmodellinghotelsolutions.mp4"
mv "SOAmodellingprocessandapproach.mp4" "03. SOAmodellingprocessandapproach.mp4"
mv "DomainanalysisHotel.mp4" "04. DomainanalysisHotel.mp4"
mv "DomainanalysisHotelpayment.mp4" "05. DomainanalysisHotelpayment.mp4"
mv "DomainanalysisHotelbooking.mp4" "06. DomainanalysisHotelbooking.mp4"
mv "DomainanalysisHotelcheckin.mp4" "07. DomainanalysisHotelcheckin.mp4"
cd ..

mv "Advanced SOA/" "09. Advanced SOA/"
cd "09. Advanced SOA/"
mv "Businesscomponents.mp4" "01. Businesscomponents.mp4"
mv "Autonomouscomponents.mp4" "02. Autonomouscomponents.mp4"
mv "Autonomouscomponentsdeployment.mp4" "03. Autonomouscomponentsdeployment.mp4"
mv "Serviceboundaries.mp4" "04. Serviceboundaries.mp4"
mv "Reporting.mp4" "05. Reporting.mp4"
mv "Referentialintegrity.mp4" "06. Referentialintegrity.mp4"
mv "Teamstructure.mp4" "07. Teamstructure.mp4"
cd ..

mv "CRQS/" "10. CRQS/"
cd "10. CRQS/"
mv "IntrotoCQRS.mp4" "01. IntrotoCQRS.mp4"
mv "Noncollaborativedomains.mp4" "02. Noncollaborativedomains.mp4"
mv "Collaborativedomains.mp4" "03. Collaborativedomains.mp4"
mv "CQRStheory.mp4" "04. CQRStheory.mp4"
mv "CQRSinaction.mp4" "05. CQRSinaction.mp4"
mv "CQRSsummary.mp4" "06. CQRSsummary.mp4"
mv "QAeventsourcing.mp4" "07. QAeventsourcing.mp4"
mv "QAsearchreportingandrequirementsvsuserwishes.mp4" "08. QAsearchreportingandrequirementsvsuserwishes.mp4"
mv "Enginepattern.mp4" "09. Enginepattern.mp4"
mv "QAenginepattern.mp4" "10. QAenginepattern.mp4"
cd ..

mv "SOA: operational aspects/" "11. SOA: operational aspects/"
cd "11. SOA: operational aspects/"
mv "Deployment.mp4" "01. Deployment.mp4"
mv "Monitoring.mp4" "02. Monitoring.mp4"
mv "Scaling.mp4" "03. Scaling.mp4"
mv "Faulttolerancebackupsdisasterrecovery.mp4" "04. Faulttolerancebackupsdisasterrecovery.mp4"
mv "Versioning.mp4" "05. Versioning.mp4"
cd ..

mv "Sagas: Long-running business processes modelling/" "12. Sagas: Long-running business processes modelling/"
cd "12. Sagas: Long-running business processes modelling/"
mv "Sagaslongrunningprocesses.mp4" "01. Sagaslongrunningprocesses.mp4"
mv "Sagasrequestresponse.mp4" "02. Sagasrequestresponse.mp4"
mv "Sagaseventdriven.mp4" "03. Sagaseventdriven.mp4"
mv "Sagastimecomponent.mp4" "04. Sagastimecomponent.mp4"
cd ..

mv "Exercise: saga design/" "13. Exercise: saga design/"
cd "13. Exercise: saga design/"
mv "Exercisesagadesignoverview.mp4" "01. Exercisesagadesignoverview.mp4"
mv "Exercisesagadesignsolutions.mp4" "02. Exercisesagadesignsolutions.mp4"
cd ..

mv "SOA: modelling/" "14. SOA: modelling/"
cd "14. SOA: modelling/"
mv "Domainmodels.mp4" "01. Domainmodels.mp4"
mv "Testingdomainmodels.mp4" "02. Testingdomainmodels.mp4"
mv "Domainmodelsdeployment.mp4" "03. Domainmodelsdeployment.mp4"
mv "Concurrencymodels.mp4" "04. Concurrencymodels.mp4"
mv "Realisticconcurrency.mp4" "05. Realisticconcurrency.mp4"
mv "Domainmodelssagas.mp4" "06. Domainmodelssagas.mp4"
cd ..

mv "Organizational transition to SOA/" "15. Organizational transition to SOA/"
cd "15. Organizational transition to SOA/"
mv "Therewritetax.mp4" "01. Therewritetax.mp4"
mv "Phase1Goodprogrammingpractices.mp4" "02. Phase1Goodprogrammingpractices.mp4"
mv "Phase2Pubsub.mp4" "03. Phase2Pubsub.mp4"
mv "Phase3carveoutpieces.mp4" "04. Phase3carveoutpieces.mp4"
mv "Phase4attackthedatabase.mp4" "05. Phase4attackthedatabase.mp4"
cd ..

mv "Web Services and User Interfaces/" "16. Web Services and User Interfaces/"
cd "16. Web Services and User Interfaces/"
mv "Caching.mp4" "01. Caching.mp4"
mv "ContentDeliveryNetworks.mp4" "02. ContentDeliveryNetworks.mp4"
mv "Personalization.mp4" "03. Personalization.mp4"
cd ..
