SlideShare a Scribd company logo
1 of 66
Download to read offline
Using command line to
save time on common
SEO tasks
Slideshare.Net/dinokukic
@DinoKukic
Dino Kukic
Hygraph
_Why command line?
@DinoKukic #studio404 #hygraph #brightonSEO
It requires less computing power (less memory and CPU)
@DinoKukic #studio404 #hygraph #brightonSEO
Once you are used to it, you’ll become a lot more efficient
@DinoKukic #studio404 #hygraph #brightonSEO
_Command Line Crash Course
@DinoKukic #studio404 #hygraph #brightonSEO
_Navigating the folders.
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
~ % cd Slides/Guidelines
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
~ % cd Slides/Guidelines
~ % cd ../../
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
~ % cd Slides/Guidelines
~ % cd ../../
~ % ls
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
~ % cd Slides/Guidelines
~ % cd ../../
~ % ls
~ % ls Slides
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
~ % cd Slides/Guidelines
~ % cd ../../
~ % ls
~ % ls Slides
~ % ls ../
@DinoKukic #studio404 #hygraph #brightonSEO
_Creating files or directories
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
~ % cd Slides/Guidelines
~ % cd ../../
~ % ls
~ % ls Slides
~ % ls ../
~ % mkdir mynewdirectory
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
├── mynewdirectory
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Slides
~ % cd ../
~ % cd Slides/Guidelines
~ % cd ../../
~ % ls
~ % ls Slides
~ % ls ../
~ % mkdir mynewdirectory
~ % touch mynewdirectory/mynewfile.csv
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
├── mynewdirectory
│ └── mynewfile.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
_Checking the files before opening
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
~ % tail redirects.csv
@DinoKukic #studio404 #hygraph #brightonSEO
_Checking the URL Response Headers
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
~ % tail redirects.csv
~ % curl -I https://hygraph.com
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
_Automation vs. Manual Work
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
Ironically,
Spending 6h on automation can save you
time on the long run
@DinoKukic #studio404 #hygraph #brightonSEO
Thinking, how to automate a task or make it
better improves your workflow
@DinoKukic #studio404 #hygraph #brightonSEO
_Command Line Tool for SEO
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
~ % tail redirects.csv
~ % curl -I https://hygraph.com
~ % pip install https://github.com/dinokukic/seo-tools-cli
@DinoKukic #studio404 #hygraph #brightonSEO
_Get Status Codes in Bulk
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
~ % tail redirects.csv
~ % curl -I https://hygraph.com
~ % pip install https://github.com/dinokukic/seo-tools-cli
~ % cd Data
@DinoKukic #studio404 #hygraph #brightonSEO
/BrightonSEO
├── Slides
│ ├── draft-august.pptx
│ ├── final-september.pptx
│ ├── Guidelines
│ │ ├── deck-guidelines.docx
│ │ └── speaking-guidelines.docx
│ └── first-slide-template.pptx
├── seo-tools-cli
│ ├── setup.py
...
├── Data
│ ├── redirects.csv
│ ├── urlstoindex.csv
│ ├── psiurls.csv
│ └── emailstovalidate.csv
└── recording.mp4
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
~ % tail redirects.csv
~ % curl -I https://hygraph.com
~ % pip install https://github.com/dinokukic/seo-tools-cli
~ % statuscodes psiurls.csv
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
_Redirect Validation in Bulk
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
~ % tail redirects.csv
~ % pip install https://github.com/dinokukic/seo-tools-cli
~ % statuscodes psiurls.csv
~ % redirects validate redirects.csv
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
_Validating Email Addresses in Bulk
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
~ % cd Data
~ % head redirects.csv
~ % tail redirects.csv
~ % curl -I https://hygraph.com
~ % pip install https://github.com/dinokukic/seo-tools-cli
~ % statuscodes psiurls.csv
~ % redirects validate redirects.csv
~ % emailval emailstovalidate.csv
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
_Extract URLs from a Sitemap
@DinoKukic #studio404 #hygraph #brightonSEO
~ % sitemap extract https://hygraph.com/sitemap.xml
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
_Scrape Titles and Meta Descriptions
@DinoKukic #studio404 #hygraph #brightonSEO
~ % getmetas urllist.csv
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
_Retrieve Page Speed Insights in Bulk
@DinoKukic #studio404 #hygraph #brightonSEO
~ % psi m urllist.csv YOUR_API_KEY
@DinoKukic #studio404 #hygraph #brightonSEO
@DinoKukic #studio404 #hygraph #brightonSEO
_Submit URL via Indexing API
@DinoKukic #studio404 #hygraph #brightonSEO
~ % index s https://domain.com/foo KEY_FILE.JSON
@DinoKukic #studio404 #hygraph #brightonSEO
~ % index m myurllist.csv KEY_FILE.JSON
@DinoKukic #studio404 #hygraph #brightonSEO
Hygraph.com / Stu404.com / @DinoKukic
_Thank you!

More Related Content

What's hot

Internal Linking - The Topic Clustering Way edited.pptx
Internal Linking - The Topic Clustering Way edited.pptxInternal Linking - The Topic Clustering Way edited.pptx
Internal Linking - The Topic Clustering Way edited.pptx
Dixon Jones
 

What's hot (20)

How to Incorporate ML in your SERP Analysis, Lazarina Stoy -BrightonSEO Oct, ...
How to Incorporate ML in your SERP Analysis, Lazarina Stoy -BrightonSEO Oct, ...How to Incorporate ML in your SERP Analysis, Lazarina Stoy -BrightonSEO Oct, ...
How to Incorporate ML in your SERP Analysis, Lazarina Stoy -BrightonSEO Oct, ...
 
Probabilistic Thinking in SEO - BrightonSEO October 2022
Probabilistic Thinking in SEO - BrightonSEO October 2022Probabilistic Thinking in SEO - BrightonSEO October 2022
Probabilistic Thinking in SEO - BrightonSEO October 2022
 
Core Web Vitals Audit - Sophie Gibson - PDF - BrightonSEO.pdf
Core Web Vitals Audit - Sophie Gibson - PDF - BrightonSEO.pdfCore Web Vitals Audit - Sophie Gibson - PDF - BrightonSEO.pdf
Core Web Vitals Audit - Sophie Gibson - PDF - BrightonSEO.pdf
 
[BrightonSEO 2022] Unlocking the Hidden Potential of Product Listing Pages
[BrightonSEO 2022] Unlocking the Hidden Potential of Product Listing Pages[BrightonSEO 2022] Unlocking the Hidden Potential of Product Listing Pages
[BrightonSEO 2022] Unlocking the Hidden Potential of Product Listing Pages
 
[BrightonSEO 2019] Restructuring Websites to Improve Indexability
[BrightonSEO 2019] Restructuring Websites to Improve Indexability[BrightonSEO 2019] Restructuring Websites to Improve Indexability
[BrightonSEO 2019] Restructuring Websites to Improve Indexability
 
Why Scaling (Great) Content Is So Bloody Hard
Why Scaling (Great) Content Is So Bloody HardWhy Scaling (Great) Content Is So Bloody Hard
Why Scaling (Great) Content Is So Bloody Hard
 
Building a Search Intent-Driven Website Architecture (SEO Mastery Summit 2022...
Building a Search Intent-Driven Website Architecture (SEO Mastery Summit 2022...Building a Search Intent-Driven Website Architecture (SEO Mastery Summit 2022...
Building a Search Intent-Driven Website Architecture (SEO Mastery Summit 2022...
 
Beth Barnham Schema Auditing BrightonSEO Slides.pptx
Beth Barnham Schema Auditing BrightonSEO Slides.pptxBeth Barnham Schema Auditing BrightonSEO Slides.pptx
Beth Barnham Schema Auditing BrightonSEO Slides.pptx
 
Goodbye SEO fck ups! Learn to set an SEO Quality Assurance Framework
Goodbye SEO fck ups! Learn to set an SEO Quality Assurance FrameworkGoodbye SEO fck ups! Learn to set an SEO Quality Assurance Framework
Goodbye SEO fck ups! Learn to set an SEO Quality Assurance Framework
 
How to produce great multilingual content, even when you can't read it | Laur...
How to produce great multilingual content, even when you can't read it | Laur...How to produce great multilingual content, even when you can't read it | Laur...
How to produce great multilingual content, even when you can't read it | Laur...
 
The Big SEO Migration - Learnings from a first time hiker
The Big SEO Migration - Learnings from a first time hiker The Big SEO Migration - Learnings from a first time hiker
The Big SEO Migration - Learnings from a first time hiker
 
Python For SEO specialists and Content Marketing - Hand in Hand
Python For SEO specialists and Content Marketing - Hand in HandPython For SEO specialists and Content Marketing - Hand in Hand
Python For SEO specialists and Content Marketing - Hand in Hand
 
SEO low hanging Fruit - Identifying High Impact Opportunities Fast #SEOforUkr...
SEO low hanging Fruit - Identifying High Impact Opportunities Fast #SEOforUkr...SEO low hanging Fruit - Identifying High Impact Opportunities Fast #SEOforUkr...
SEO low hanging Fruit - Identifying High Impact Opportunities Fast #SEOforUkr...
 
Networking for SEOs (and why it matters)
Networking for SEOs (and why it matters)Networking for SEOs (and why it matters)
Networking for SEOs (and why it matters)
 
Internal Linking - The Topic Clustering Way edited.pptx
Internal Linking - The Topic Clustering Way edited.pptxInternal Linking - The Topic Clustering Way edited.pptx
Internal Linking - The Topic Clustering Way edited.pptx
 
Web Server SEO: Make your TTFB faster!
Web Server SEO: Make your TTFB faster!Web Server SEO: Make your TTFB faster!
Web Server SEO: Make your TTFB faster!
 
The Ultimate Maturity Audit _ Brighton SEO.pdf
The Ultimate Maturity Audit _ Brighton SEO.pdfThe Ultimate Maturity Audit _ Brighton SEO.pdf
The Ultimate Maturity Audit _ Brighton SEO.pdf
 
How to control googlebot
How to control googlebotHow to control googlebot
How to control googlebot
 
BrightonSEO - Master Crawl Budget Optimization for Enterprise Websites
BrightonSEO - Master Crawl Budget Optimization for Enterprise WebsitesBrightonSEO - Master Crawl Budget Optimization for Enterprise Websites
BrightonSEO - Master Crawl Budget Optimization for Enterprise Websites
 
How to rethink the traditional SEO workspace to promote team wellbeing and pr...
How to rethink the traditional SEO workspace to promote team wellbeing and pr...How to rethink the traditional SEO workspace to promote team wellbeing and pr...
How to rethink the traditional SEO workspace to promote team wellbeing and pr...
 

Similar to Using command line to save time on common SEO tasks

2012 coscup - Build your PHP application on Heroku
2012 coscup - Build your PHP application on Heroku2012 coscup - Build your PHP application on Heroku
2012 coscup - Build your PHP application on Heroku
ronnywang_tw
 

Similar to Using command line to save time on common SEO tasks (20)

Lean agile 2019 - part 4
Lean agile 2019  - part 4Lean agile 2019  - part 4
Lean agile 2019 - part 4
 
Django dev-env-my-way
Django dev-env-my-wayDjango dev-env-my-way
Django dev-env-my-way
 
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and DevelopmentBeyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
 
LetSwift 2017 - 토스 iOS 앱의 개발/배포 환경
LetSwift 2017 - 토스 iOS 앱의 개발/배포 환경LetSwift 2017 - 토스 iOS 앱의 개발/배포 환경
LetSwift 2017 - 토스 iOS 앱의 개발/배포 환경
 
Research software and Dataverse
Research software and DataverseResearch software and Dataverse
Research software and Dataverse
 
Fandogh Cloud workshop slides
Fandogh Cloud workshop slides Fandogh Cloud workshop slides
Fandogh Cloud workshop slides
 
Golang 101 for IT-Pros - Cisco Live Orlando 2018 - DEVNET-1808
Golang 101 for IT-Pros - Cisco Live Orlando 2018 - DEVNET-1808Golang 101 for IT-Pros - Cisco Live Orlando 2018 - DEVNET-1808
Golang 101 for IT-Pros - Cisco Live Orlando 2018 - DEVNET-1808
 
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
 
Pipfile, pipenv, pip… what?!
Pipfile, pipenv, pip… what?!Pipfile, pipenv, pip… what?!
Pipfile, pipenv, pip… what?!
 
Comment améliorer le quotidien des Développeurs PHP ?
Comment améliorer le quotidien des Développeurs PHP ?Comment améliorer le quotidien des Développeurs PHP ?
Comment améliorer le quotidien des Développeurs PHP ?
 
Automatisation in development and testing - within budget [IronCamp prague 20...
Automatisation in development and testing - within budget [IronCamp prague 20...Automatisation in development and testing - within budget [IronCamp prague 20...
Automatisation in development and testing - within budget [IronCamp prague 20...
 
Installing GravCMS
Installing GravCMSInstalling GravCMS
Installing GravCMS
 
2012 coscup - Build your PHP application on Heroku
2012 coscup - Build your PHP application on Heroku2012 coscup - Build your PHP application on Heroku
2012 coscup - Build your PHP application on Heroku
 
Heroku pycon
Heroku pyconHeroku pycon
Heroku pycon
 
Monitoring using Sensu
Monitoring using SensuMonitoring using Sensu
Monitoring using Sensu
 
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
What is Git | What is GitHub | Git Tutorial | GitHub Tutorial | Devops Tutori...
 
Introduction to Opencast Matterhorn: Apereo 2014
Introduction to Opencast Matterhorn: Apereo 2014Introduction to Opencast Matterhorn: Apereo 2014
Introduction to Opencast Matterhorn: Apereo 2014
 
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
Масштабируемая конфигурация Nginx, Игорь Сысоев (Nginx)
 
Testing with Docker
Testing with DockerTesting with Docker
Testing with Docker
 
Introduction to Python IDLE | IDLE Tutorial | Edureka
Introduction to Python IDLE | IDLE Tutorial | EdurekaIntroduction to Python IDLE | IDLE Tutorial | Edureka
Introduction to Python IDLE | IDLE Tutorial | Edureka
 

Recently uploaded

Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...
Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...
Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...
ahmedjiabur940
 

Recently uploaded (20)

Killer Packaging__Published in PrintAction
Killer Packaging__Published in PrintActionKiller Packaging__Published in PrintAction
Killer Packaging__Published in PrintAction
 
Aiizennxqc Digital Marketing | SEO & SMM
Aiizennxqc Digital Marketing | SEO & SMMAiizennxqc Digital Marketing | SEO & SMM
Aiizennxqc Digital Marketing | SEO & SMM
 
Macro PDF - How a Global Partner Marketing Concierge Team Can Drive Channel R...
Macro PDF - How a Global Partner Marketing Concierge Team Can Drive Channel R...Macro PDF - How a Global Partner Marketing Concierge Team Can Drive Channel R...
Macro PDF - How a Global Partner Marketing Concierge Team Can Drive Channel R...
 
Alpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxAlpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptx
 
The 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptxThe 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptx
 
Crypto Quantum Leap - Digital - membership area
Crypto Quantum Leap -  Digital - membership areaCrypto Quantum Leap -  Digital - membership area
Crypto Quantum Leap - Digital - membership area
 
Niche Analysis for Client Outreach Outside Marketplace.pptx
Niche Analysis for Client Outreach Outside Marketplace.pptxNiche Analysis for Client Outreach Outside Marketplace.pptx
Niche Analysis for Client Outreach Outside Marketplace.pptx
 
Global Trends in Market Reserch & Insights - Ray Poynter - May 2023.pdf
Global Trends in Market Reserch & Insights - Ray Poynter - May 2023.pdfGlobal Trends in Market Reserch & Insights - Ray Poynter - May 2023.pdf
Global Trends in Market Reserch & Insights - Ray Poynter - May 2023.pdf
 
The Impact Of Social Media Advertising.pdf
The Impact Of Social Media Advertising.pdfThe Impact Of Social Media Advertising.pdf
The Impact Of Social Media Advertising.pdf
 
Cartona.pptx. Marketing how to present your project very well , discussed a...
Cartona.pptx.   Marketing how to present your project very well , discussed a...Cartona.pptx.   Marketing how to present your project very well , discussed a...
Cartona.pptx. Marketing how to present your project very well , discussed a...
 
Meeting Koordinasi All Team Sales dan Marketing Departement
Meeting Koordinasi All Team Sales dan Marketing DepartementMeeting Koordinasi All Team Sales dan Marketing Departement
Meeting Koordinasi All Team Sales dan Marketing Departement
 
Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...
Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...
Top Abortion Clinic in Muscat +918761049707!!!!!!!!!!! Get Cytotec kit availa...
 
How consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesHow consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their lives
 
SEO: A Beginner's Guide to Ranking Higher
SEO: A Beginner's Guide to Ranking HigherSEO: A Beginner's Guide to Ranking Higher
SEO: A Beginner's Guide to Ranking Higher
 
Gain potential customers through Lead Generation
Gain potential customers through Lead GenerationGain potential customers through Lead Generation
Gain potential customers through Lead Generation
 
Discover Ardency Elite: Elevate Your Lifestyle
Discover Ardency Elite: Elevate Your LifestyleDiscover Ardency Elite: Elevate Your Lifestyle
Discover Ardency Elite: Elevate Your Lifestyle
 
Meta­ unveils­ enhanced­ gen-AI­ tools­ catering­ to­marketers.pdf
Meta­ unveils­ enhanced­ gen-AI­ tools­ catering­ to­marketers.pdfMeta­ unveils­ enhanced­ gen-AI­ tools­ catering­ to­marketers.pdf
Meta­ unveils­ enhanced­ gen-AI­ tools­ catering­ to­marketers.pdf
 
The Art of sales from fictional characters.
The Art of sales from fictional characters.The Art of sales from fictional characters.
The Art of sales from fictional characters.
 
SP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdfSP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdf
 
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdfMicro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
 

Using command line to save time on common SEO tasks

  • 1. Using command line to save time on common SEO tasks Slideshare.Net/dinokukic @DinoKukic Dino Kukic Hygraph
  • 2. _Why command line? @DinoKukic #studio404 #hygraph #brightonSEO
  • 3. It requires less computing power (less memory and CPU) @DinoKukic #studio404 #hygraph #brightonSEO
  • 4. Once you are used to it, you’ll become a lot more efficient @DinoKukic #studio404 #hygraph #brightonSEO
  • 5. _Command Line Crash Course @DinoKukic #studio404 #hygraph #brightonSEO
  • 6. _Navigating the folders. @DinoKukic #studio404 #hygraph #brightonSEO
  • 7. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 8. ~ % cd Slides @DinoKukic #studio404 #hygraph #brightonSEO
  • 9. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 10. ~ % cd Slides ~ % cd ../ @DinoKukic #studio404 #hygraph #brightonSEO
  • 11. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 12. ~ % cd Slides ~ % cd ../ ~ % cd Slides/Guidelines @DinoKukic #studio404 #hygraph #brightonSEO
  • 13. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 14. ~ % cd Slides ~ % cd ../ ~ % cd Slides/Guidelines ~ % cd ../../ @DinoKukic #studio404 #hygraph #brightonSEO
  • 15. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 16. ~ % cd Slides ~ % cd ../ ~ % cd Slides/Guidelines ~ % cd ../../ ~ % ls @DinoKukic #studio404 #hygraph #brightonSEO
  • 18. ~ % cd Slides ~ % cd ../ ~ % cd Slides/Guidelines ~ % cd ../../ ~ % ls ~ % ls Slides @DinoKukic #studio404 #hygraph #brightonSEO
  • 20. ~ % cd Slides ~ % cd ../ ~ % cd Slides/Guidelines ~ % cd ../../ ~ % ls ~ % ls Slides ~ % ls ../ @DinoKukic #studio404 #hygraph #brightonSEO
  • 21. _Creating files or directories @DinoKukic #studio404 #hygraph #brightonSEO
  • 22. ~ % cd Slides ~ % cd ../ ~ % cd Slides/Guidelines ~ % cd ../../ ~ % ls ~ % ls Slides ~ % ls ../ ~ % mkdir mynewdirectory @DinoKukic #studio404 #hygraph #brightonSEO
  • 23. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv ├── mynewdirectory └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 24. ~ % cd Slides ~ % cd ../ ~ % cd Slides/Guidelines ~ % cd ../../ ~ % ls ~ % ls Slides ~ % ls ../ ~ % mkdir mynewdirectory ~ % touch mynewdirectory/mynewfile.csv @DinoKukic #studio404 #hygraph #brightonSEO
  • 25. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv ├── mynewdirectory │ └── mynewfile.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 26. _Checking the files before opening @DinoKukic #studio404 #hygraph #brightonSEO
  • 27. ~ % cd Data @DinoKukic #studio404 #hygraph #brightonSEO
  • 28. ~ % cd Data ~ % head redirects.csv @DinoKukic #studio404 #hygraph #brightonSEO
  • 29. ~ % cd Data ~ % head redirects.csv ~ % tail redirects.csv @DinoKukic #studio404 #hygraph #brightonSEO
  • 30. _Checking the URL Response Headers @DinoKukic #studio404 #hygraph #brightonSEO
  • 31. ~ % cd Data ~ % head redirects.csv ~ % tail redirects.csv ~ % curl -I https://hygraph.com @DinoKukic #studio404 #hygraph #brightonSEO
  • 33. _Automation vs. Manual Work @DinoKukic #studio404 #hygraph #brightonSEO
  • 35. Ironically, Spending 6h on automation can save you time on the long run @DinoKukic #studio404 #hygraph #brightonSEO
  • 36. Thinking, how to automate a task or make it better improves your workflow @DinoKukic #studio404 #hygraph #brightonSEO
  • 37. _Command Line Tool for SEO @DinoKukic #studio404 #hygraph #brightonSEO
  • 38. ~ % cd Data ~ % head redirects.csv ~ % tail redirects.csv ~ % curl -I https://hygraph.com ~ % pip install https://github.com/dinokukic/seo-tools-cli @DinoKukic #studio404 #hygraph #brightonSEO
  • 39. _Get Status Codes in Bulk @DinoKukic #studio404 #hygraph #brightonSEO
  • 40. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 41. ~ % cd Data ~ % head redirects.csv ~ % tail redirects.csv ~ % curl -I https://hygraph.com ~ % pip install https://github.com/dinokukic/seo-tools-cli ~ % cd Data @DinoKukic #studio404 #hygraph #brightonSEO
  • 42. /BrightonSEO ├── Slides │ ├── draft-august.pptx │ ├── final-september.pptx │ ├── Guidelines │ │ ├── deck-guidelines.docx │ │ └── speaking-guidelines.docx │ └── first-slide-template.pptx ├── seo-tools-cli │ ├── setup.py ... ├── Data │ ├── redirects.csv │ ├── urlstoindex.csv │ ├── psiurls.csv │ └── emailstovalidate.csv └── recording.mp4 @DinoKukic #studio404 #hygraph #brightonSEO
  • 44. ~ % cd Data ~ % head redirects.csv ~ % tail redirects.csv ~ % curl -I https://hygraph.com ~ % pip install https://github.com/dinokukic/seo-tools-cli ~ % statuscodes psiurls.csv @DinoKukic #studio404 #hygraph #brightonSEO
  • 46. _Redirect Validation in Bulk @DinoKukic #studio404 #hygraph #brightonSEO
  • 48. ~ % cd Data ~ % head redirects.csv ~ % tail redirects.csv ~ % pip install https://github.com/dinokukic/seo-tools-cli ~ % statuscodes psiurls.csv ~ % redirects validate redirects.csv @DinoKukic #studio404 #hygraph #brightonSEO
  • 50. _Validating Email Addresses in Bulk @DinoKukic #studio404 #hygraph #brightonSEO
  • 52. ~ % cd Data ~ % head redirects.csv ~ % tail redirects.csv ~ % curl -I https://hygraph.com ~ % pip install https://github.com/dinokukic/seo-tools-cli ~ % statuscodes psiurls.csv ~ % redirects validate redirects.csv ~ % emailval emailstovalidate.csv @DinoKukic #studio404 #hygraph #brightonSEO
  • 54. _Extract URLs from a Sitemap @DinoKukic #studio404 #hygraph #brightonSEO
  • 55. ~ % sitemap extract https://hygraph.com/sitemap.xml @DinoKukic #studio404 #hygraph #brightonSEO
  • 57. _Scrape Titles and Meta Descriptions @DinoKukic #studio404 #hygraph #brightonSEO
  • 58. ~ % getmetas urllist.csv @DinoKukic #studio404 #hygraph #brightonSEO
  • 60. _Retrieve Page Speed Insights in Bulk @DinoKukic #studio404 #hygraph #brightonSEO
  • 61. ~ % psi m urllist.csv YOUR_API_KEY @DinoKukic #studio404 #hygraph #brightonSEO
  • 63. _Submit URL via Indexing API @DinoKukic #studio404 #hygraph #brightonSEO
  • 64. ~ % index s https://domain.com/foo KEY_FILE.JSON @DinoKukic #studio404 #hygraph #brightonSEO
  • 65. ~ % index m myurllist.csv KEY_FILE.JSON @DinoKukic #studio404 #hygraph #brightonSEO
  • 66. Hygraph.com / Stu404.com / @DinoKukic _Thank you!