This file contains hidden or 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 | |
| ### Initial repo upload keeping file timestamps | |
| if [ ! -n "$1" ]; then | |
| echo "usage $0 <https://user@bitbucket.org/user/repo.git>" | |
| exit 1 | |
| fi | |
| if [ "$(uname -s)" == "FreeBSD" ]; then | |
| stat_args="-f%m:%N" |
This file contains hidden or 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 | |
| # | |
| # ВАЖНО. mail.ru время от времени меняет внутрянку, не очень сильно, но требуется адаптация скрипта. | |
| # Если скрипт не работает, просьба разместить патч в комментариях или сделать работающий форк. | |
| # 2018-06-18 updated: mail.ru changed internals | |
| # 2017-09-22 original idea: https://novall.net/itnews/bash-skript-dlya-skachivaniya-fajlov-s-mail-ru-cherez-konsol-linux.html | |
| # 26/04/2019 downloading fixed (thanks to @dinolek ) .......updated by - @vishalk17 |
NewerOlder