Last active
July 12, 2022 09:07
-
-
Save miry/d7e8a19eb66734fb69cf8ee4c32095bc to your computer and use it in GitHub Desktop.
Medup post: Medup backups articles https://medium.com/notes-and-tips-in-full-stack-development/medup-backups-articles-8bf90179b094
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
medup -u miry -d ./posts/miry # Articles written by miry | |
medup --platform=devto -u miry -d ./posts/miry_devto # Articles written by miry in Dev.to | |
medup @miry -d ./posts/miry # Alternative way to get articles written by miry | |
medup -u miry -d ./posts/favorites -r # Favorite articles of miry (clapped one) | |
medup -u miry -d ./posts/miry --update # Update existing exported posts with latest versions of posts | |
medup -u miry -d ./posts/miry --assets-images # Save images to assets folder | |
medup @miry -d ./posts/miry --assets-images --assets-dir ./assets --assets-base-path=/assets # Save images to assets folder and update base path from relative to absolute | |
medup -p jetthoughts -d ./posts/jetthoughts # Export Jetthought publication's posts | |
medup jetthoughts -d ./posts/jetthoughts # Alternative way to export Jetthought publication's posts | |
medup https://medium.com/notes-and-tips-in-full-stack-development/medup-backups-articles-8bf90179b094 # Export single article | |
medup https://jtway.co/git-minimum-for-effective-project-development-841a0b865ef0 # Export signle article with custom domain | |
medup -v7 -d _posts --assets-dir=assets --assets-base-path=/assets @miry # Export posts to Jekyll | |
medup -v7 -d src/_posts --assets-dir=src/assets --assets-base-path=/assets jetthoughts # Export posts to Bridgetown | |
medup https://dev.to/jetthoughts/ # Articles wirtten by jetthoughts in dev.to | |
medup https://dev.to/jetthoughts/how-to-use-linear-gradient-in-css-bi1 # Single article to export from dev.to | |
medup jetthoughts --dry-run # Run command in read only mode. No modification in file system. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment