{"id":83,"date":"2015-10-07T08:20:00","date_gmt":"2015-10-07T08:20:00","guid":{"rendered":"http:\/\/aldarias.es\/wordpress\/?p=83"},"modified":"2015-10-07T08:20:00","modified_gmt":"2015-10-07T08:20:00","slug":"decargar-repositorios-publicos-bitbucket-con-script-en-bash","status":"publish","type":"post","link":"http:\/\/aldarias.es\/wordpress\/?p=83","title":{"rendered":"Decargar repositorios publicos bitbucket con script en bash"},"content":{"rendered":"<p><span style=\"font-size: x-small;\">El siguiente script para linux llamado<b> gitcloneejercicios.sh<\/b> permite descargar todos los repositorios p\u00fablicos de bitbucket y ponerlos en la carpeta <\/span><span style=\"font-size: x-small;\"><span style=\"font-size: x-small;\">\/home\/paco\/NetBeansProjects\/ejercicios\/<\/span> <\/span><\/p>\n<p><span style=\"font-size: x-small;\"># Por Paco Aldarias, 7\/8\/2011<br \/>p=\u00bb\/home\/paco\/NetBeansProjects\/\u00bb<br \/>c=${p}\u00bbejercicios\u00bb<\/p>\n<p>if [ ! -d ${c} ];then<br \/>&nbsp;echo \u00abCreando $c\u00bb<br \/>&nbsp;mkdir ${c}<br \/>fi<\/p>\n<p>cd ${c}<\/p>\n<p>for t in $(seq 1 10);do<br \/>&nbsp;&nbsp;&nbsp;&nbsp; git clone ssh:\/\/git@altssh.bitbucket.org:443\/1516ceed1\/1415ceed1prgt${t}e10<br \/>&nbsp;&nbsp;&nbsp;&nbsp; git clone ssh:\/\/git@altssh.bitbucket.org:443\/1516ceed1\/1415ceed1prgt${t}e20<br \/>done<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>El siguiente script para linux llamado gitcloneejercicios.sh permite descargar todos los repositorios p\u00fablicos de bitbucket y ponerlos en la carpeta \/home\/paco\/NetBeansProjects\/ejercicios\/ # Por Paco Aldarias, 7\/8\/2011p=\u00bb\/home\/paco\/NetBeansProjects\/\u00bbc=${p}\u00bbejercicios\u00bb if [ ! -d ${c} ];then&nbsp;echo \u00abCreando $c\u00bb&nbsp;mkdir ${c}fi cd ${c} for t in &hellip; <a href=\"http:\/\/aldarias.es\/wordpress\/?p=83\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"episode_type":"","audio_file":"","podmotor_file_id":"","podmotor_episode_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","footnotes":""},"categories":[116,117],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","hentry","category-bitbucket","category-script"],"_links":{"self":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=83"}],"version-history":[{"count":0,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/83\/revisions"}],"wp:attachment":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}