<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Scripts para Linux - GCD by Jenson Chambi</title>
      <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7</link>
      <description>Condicionales, bucles, creación de logs.</description>
      <language>en-us</language>
      <pubDate>2021-04-26 19:48:36 UTC</pubDate>
      <lastBuildDate>2025-01-07 04:14:57 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f4bb.png</url>
      </image>
      <item>
         <title>Integrantes</title>
         <author>jenson2</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461679562</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:06:47 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461679562</guid>
      </item>
      <item>
         <title>Integrantes</title>
         <author>josechacpa</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461680474</link>
         <description><![CDATA[<div>- Daniel Vela Temoche<br>- Kranmer Ramos Vasquez<br>- Jose Chacpa Vizcarra<br>-  Roger Davila Cahuaza</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:07:08 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461680474</guid>
      </item>
      <item>
         <title>Integrantes</title>
         <author>nickmeza</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461681281</link>
         <description><![CDATA[<div>Nick Meza Rivera<br>Jorge Maquera<br>Johan&nbsp;Mamani</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:07:25 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461681281</guid>
      </item>
      <item>
         <title>Integrantes</title>
         <author>brighytccana</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461682105</link>
         <description><![CDATA[<div>* Sem Benabente<br>* Josue Maquera<br>* Emily Ccana</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:07:41 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461682105</guid>
      </item>
      <item>
         <title>Integrantes </title>
         <author>willianugarte</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461683579</link>
         <description><![CDATA[<div>- Ugarte Willian<br>- Gutierrez Alejandro</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:08:15 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461683579</guid>
      </item>
      <item>
         <title>Integrantes</title>
         <author>alberthuillca</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461686043</link>
         <description><![CDATA[<div>- Helmer Gerardo Martinez<br>- Albert Romario Huillca<br>- Gabriel Cosi Valdivia</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:09:06 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461686043</guid>
      </item>
      <item>
         <title>Directorios y Subdirectorios / Log</title>
         <author>jenson2</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461686152</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:09:08 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461686152</guid>
      </item>
      <item>
         <title>Directorios y Subdirectorios / Log</title>
         <author>josechacpa</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461686306</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:09:11 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461686306</guid>
      </item>
      <item>
         <title>Integrantes</title>
         <author>miguelcarrizo</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461689746</link>
         <description><![CDATA[<div>Miguel Carrizo Maravi<br>Jacqueline<br>Henry Klisman</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:10:24 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461689746</guid>
      </item>
      <item>
         <title>Directorios y Subdirectorios / Log</title>
         <author>nickmeza</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461691417</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:11:03 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461691417</guid>
      </item>
      <item>
         <title>Directorios y Subdirectorios/Log</title>
         <author>willianugarte</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461691664</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:11:08 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461691664</guid>
      </item>
      <item>
         <title>Directorios y Subdirectorios/Log</title>
         <author>gabrielcosi</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461693966</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:12:00 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461693966</guid>
      </item>
      <item>
         <title>Jorge Maquera - 201810763</title>
         <author>jorgemaquerac</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461694544</link>
         <description><![CDATA[<div>#!/bin/bash<br>DIR_NAME=$1<br>N_DIRS=$2<br><br>if [ -e $DIR_NAME ]<br>then<br>&nbsp; echo "La carpeta ya existe..."<br>&nbsp; exit<br>fi<br><br>mkdir $DIR_NAME<br>echo "Creando directorio raiz..." &gt;&gt; .logs<br><br>if [ $N_DIRS == '' ]<br>then<br>&nbsp; exit<br>fi<br><br>cd $DIR_NAME<br>echo "Ingresando al directorio $DIR_NAME..." &gt;&gt; ../.logs<br><br>for i in $(seq 1 $N_DIRS)<br>do<br>&nbsp; &nbsp; &nbsp; &nbsp; mkdir "$DIR_NAME$i"<br>&nbsp; &nbsp; &nbsp; &nbsp; echo "Creando carpeta $DIR_NAME$i" &gt;&gt; ../.logs<br>done</div>]]></description>
         <pubDate>2021-04-26 21:12:14 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461694544</guid>
      </item>
      <item>
         <title>Directorios y Subdirectorios / Log</title>
         <author>miguelcarrizo</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461694721</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:12:19 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461694721</guid>
      </item>
      <item>
         <title>Miguel Carrizo - 201710048</title>
         <author>miguelcarrizo</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461694882</link>
         <description><![CDATA[<div>Script de carpetas</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1161034636/aa9553b0a28c77fc32928a850ad846f8/Screen_Shot_2021_04_26_at_16_23_16.png" />
         <pubDate>2021-04-26 21:12:22 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461694882</guid>
      </item>
      <item>
         <title>Gabriel Cosi - 201811720</title>
         <author>gabrielcosi</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461695187</link>
         <description><![CDATA[<div>#!/bin/bash</div><div>log=out.log</div><div><br></div><div>echo "Ingrese el nombre de la carpeta y el numero de carpetas que desea"</div><div>IFS=' ' read -ra line</div><div><br></div><div>if [ ! -z ${line[0]} ] &amp;&amp; [ ! -z ${line[1]} ];</div><div>then</div><div>&nbsp; mkdir ${line[0]}</div><div>&nbsp; for i in $(seq "${line[1]}")</div><div>&nbsp; do</div><div>&nbsp; &nbsp; &nbsp;mkdir ${line[0]}/${line[0]}$i</div><div>&nbsp; done</div><div>&nbsp; echo -e "\033[0;32m ${line[1]} nested folders created inside folder ${line[0]} \033[0m"</div><div>&nbsp; date &gt;&gt; $log</div><div>&nbsp; echo "${line[1]} nested folders created inside folder ${line[0]}" &gt;&gt; $log</div><div>else</div><div>&nbsp; echo -e "\033[0;31m Parametros insuficientes \033[0m"</div><div>&nbsp; date &gt;&gt; $log</div><div>&nbsp; echo "Error" &gt;&gt; $log</div><div>fi</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:12:30 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461695187</guid>
      </item>
      <item>
         <title>Jose Chacpa</title>
         <author>josechacpa</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461696899</link>
         <description><![CDATA[<div>#!/bin/bash<br><br>Random=$1$RANDOM<br><br>if [ -d $1 ]<br>then	<br>	echo "La carpeta $1 ya existe!" | tee -a Logs/"$Random".txt<br>else<br>	mkdir $1<br>	echo "La carpeta $1 fue creada exitosamente!" | tee -a Logs/"$Random".txt<br>	for ((i=1; i&lt;=$2; i++))<br>	do<br>		mkdir $1/$1${i}	<br>			echo "Se creo la Sub Carpeta $1${i} dentro de $1" | tee -a Logs/"$Random".txt<br>	done<br>		echo "Carpetas internas creadas correctamente!" | tee -a Logs/"$Random".txt<br>fi</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:13:13 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461696899</guid>
      </item>
      <item>
         <title>Kranmer Ramos</title>
         <author></author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461699011</link>
         <description><![CDATA[<div>#!/bin/bash<br><br>if [ -d $1 ]<br>then	<br>	echo "La carpeta $1 ya existe!" | tee -a ./"logs_$1".txt<br>else<br>	mkdir $1<br>	echo "La carpeta $1 fue creada exitosamente!" | tee -a ./"logs_$1Log".txt<br>	for ((i=1; i&lt;=$2; i++))<br>	do<br>		mkdir $1/$1${i}	<br>			echo "Se creo la Sub Carpeta $1${i} dentro de $1" | tee -a ./"logs$1".txt<br>	done<br>		echo "Carpetas internas creadas correctamente!" | tee -a ./"logs_$1".txt<br>fi</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:14:05 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461699011</guid>
      </item>
      <item>
         <title>Albert Romario - 201611502</title>
         <author>alberthuillca</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461702921</link>
         <description><![CDATA[<div><em>#!/bin/bash</em></div><div>echo "Nombre de la carpeta"</div><div>read name</div><div>echo "Cantidad de carpetas hijas"</div><div>read can</div><div><br></div><div>echo ""</div><div>j=1</div><div>&nbsp; &nbsp; if [ -d $name$j ]; then echo "la carpeta $name ya existe";</div><div>&nbsp; &nbsp; echo "$name"</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; echo "Creando $can carpetas"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; mkdir "$name"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; for(( i=1 ; i&lt;=$can ; i++))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cd "$name"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mkdir "$name$i"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo "Creado el $i"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; done</div><div>&nbsp; &nbsp; fi</div><div><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:15:39 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461702921</guid>
      </item>
      <item>
         <title>sem benavente - 201711893</title>
         <author>sembenavente</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461703233</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1123019610/24c02d174073d3778be4b79930229472/codigo2.png" />
         <pubDate>2021-04-26 21:15:47 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461703233</guid>
      </item>
      <item>
         <title>Josue Maquera - 201820034</title>
         <author>josuemaquera</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461704456</link>
         <description><![CDATA[<div>#!/bin/bash<br>echo "Bienvenido, ingresa el nombre de la carpeta a crear"<br>read name<br>echo "¿Cuantas veces se debe crear esa carpeta?"<br>read can<br><br>echo ""<br>j=1<br>	if [ -d $name$j ]; then echo "Esta carpeta $name ya existe";<br>	else<br>		echo "Creando $can carpetas"<br>		for(( i=1 ; i&lt;=$can ; i++))<br>			do<br>			mkdir "$name$i"<br>			cd "$name$i"<br>			echo "Estamos en $i"<br>		done<br>	fi</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:16:11 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461704456</guid>
      </item>
      <item>
         <title>Daniel Vela</title>
         <author>danielvela2</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461704730</link>
         <description><![CDATA[<div>#!/bin/bash</div><div>if [ -d $1 ]</div><div>then&nbsp;</div><div>&nbsp; echo "La carpeta $1 ya existe!"</div><div>else&nbsp;</div><div>&nbsp; mkdir $1</div><div>&nbsp; echo "La carpeta $1 fue creada exitosamente!"</div><div>&nbsp; for ((i=1;i&lt;=$2; i++))</div><div>&nbsp; do</div><div>&nbsp; &nbsp; mkdir $1/$1${i}</div><div>&nbsp; done&nbsp;</div><div>&nbsp; echo "Carpetas internas creadas correctamente!"</div><div>fi</div><div><br></div>]]></description>
         <pubDate>2021-04-26 21:16:18 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461704730</guid>
      </item>
      <item>
         <title>Helmer M</title>
         <author>helmermartinez</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461724688</link>
         <description><![CDATA[<div>vi crear.sh<br><br>#!/bin/bash<br><br>for dir in $@<br>do<br>&nbsp; if [ -d $dir ]<br>&nbsp; then<br>&nbsp; &nbsp; echo “Capeta $dir existente.”<br>Else<br>&nbsp; &nbsp; mkdir $dir<br>&nbsp; &nbsp; if [ $? -eq 0 +<br>&nbsp; &nbsp; then<br>&nbsp; &nbsp; &nbsp; echo “$dir se ha creaco con éxito”<br>&nbsp; &nbsp; else<br>&nbsp; &nbsp; &nbsp; echo “Ups! Algo fallo al crear $dir”<br>&nbsp; &nbsp; fi<br>&nbsp; fi<br>done<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:24:18 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461724688</guid>
      </item>
      <item>
         <title>sem benavente v2</title>
         <author>sembenavente</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461752819</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1123019610/73cf73a4c71f8dffae89e816252fa06d/code.png" />
         <pubDate>2021-04-26 21:36:23 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461752819</guid>
      </item>
      <item>
         <title>Integrantes Script</title>
         <author>miguelcarrizo</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461761793</link>
         <description><![CDATA[<div>Script que crea un text file</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1161034636/f40614ef40efe52152ef1b65e20164e0/Screen_Shot_2021_04_26_at_16_41_12.png" />
         <pubDate>2021-04-26 21:40:30 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461761793</guid>
      </item>
      <item>
         <title>Jose Chacpa</title>
         <author>josechacpa</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461763259</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1123248698/6d47efdff48066abf05285d22ee23ca2/image.png" />
         <pubDate>2021-04-26 21:41:13 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461763259</guid>
      </item>
      <item>
         <title>Emily</title>
         <author>brighytccana</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461776741</link>
         <description><![CDATA[<div>#!/bin/bash<br><br>for dir in $@<br>do<br>&nbsp; if [ -d $dir ]<br>&nbsp; then<br>&nbsp; &nbsp; echo “La capeta $dir ya existe.”<br>Else<br>&nbsp; &nbsp; mkdir $dir<br>&nbsp; &nbsp; if [ $? -eq 0 +<br>&nbsp; &nbsp; then<br>&nbsp; &nbsp; &nbsp; echo “$dir se ha creaco con éxito”<br>&nbsp; &nbsp; else<br>&nbsp; &nbsp; &nbsp; echo “Ups! mal $dir”<br>&nbsp; &nbsp; fi<br>&nbsp; fi<br>done</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:47:17 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461776741</guid>
      </item>
      <item>
         <title>Jorge Maquera v2 - 201810763</title>
         <author>jorgemaquerac</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461784660</link>
         <description><![CDATA[<div>#!/bin/sh<br>DIR_NAME=$1<br><br>if [ $DIR_NAME == '' ]<br>then<br>&nbsp; exit<br>fi<br><br>if [ -e $DIR_NAME ]<br>then<br>&nbsp; echo "La carpeta ya existe..."<br>&nbsp; exit<br>fi<br><br>mkdir $DIR_NAME<br><br>cd $DIR_NAME<br><br>echo "Integrantes:\n- Jorge Maquera\n- Nick Meza\n- Johan Mamani" &gt;&gt; integrantes.txt<br><br>exit<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:51:05 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461784660</guid>
      </item>
      <item>
         <title>sem v 2.0</title>
         <author>sembenavente</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461785109</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1123019610/f9e45aaa83322cbc71420043567ea4ef/code2_0.png" />
         <pubDate>2021-04-26 21:51:18 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461785109</guid>
      </item>
      <item>
         <title>Kranmer Ramos</title>
         <author></author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461802118</link>
         <description><![CDATA[<div>#!/bin/bash<br>if [ -d $1 ]<br>then<br>	echo "la carpeta $1 ya exite" | tee -a ./"$1_logs".txt<br>else&nbsp;<br>	mkdir $1<br>	echo "La carpeta $1 fue creada" | tee -a ./"$1_logs".txt<br>		echo "Integrantes" | tee -a $1/"integrantes".txt<br>		echo "Jose Chacpa" | tee -a $1/"integrantes".txt<br>		echo "Daniel Vela" | tee -a $1/"integrantes".txt<br>		echo "Kranmer Ramos" | tee -a $1/"integrantes".txt	<br>	for ((i=1; i&lt;=$2; i++))<br>	do&nbsp;<br>		mkdir $1/$1${i}<br>			echo "Se creo la subcarpeta $1${i}" | tee -a ./"$1_logs".txt<br>	done&nbsp;<br>		echo "Las carpeta creada correctamente" | tee -a ./"$1_logs".txt<br>fi</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 21:58:36 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461802118</guid>
      </item>
      <item>
         <title>Albert Romario</title>
         <author>alberthuillca</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461806950</link>
         <description><![CDATA[<div><em>#!/bin/bash</em></div><div>echo "Nombre de la carpeta"</div><div>read name</div><div>echo "Nombre del archivo"</div><div>read arch</div><div>echo "Cantidad de carpetas hijas"</div><div>read can</div><div><br></div><div>echo ""</div><div>j=1</div><div>&nbsp; &nbsp; if [ -d $name ]; then echo "la carpeta $name ya existe";</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; echo "Creando $can carpetas"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; mkdir "$name"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; cd $name</div><div>&nbsp; &nbsp; &nbsp; &nbsp; touch "$arch"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; echo "albert romario" &gt;&gt; $arch</div><div>&nbsp; &nbsp; &nbsp; &nbsp; echo "gabriel cosi" &gt;&gt; $arch</div><div>&nbsp; &nbsp; &nbsp; &nbsp; echo "helmer martinez" &gt;&gt; $arch&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; for(( i=1 ; i&lt;=$can ; i++))</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; do</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cd "$name"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mkdir "$name$i"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo "Creado el $i"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; done</div><div>&nbsp; &nbsp; fi</div><div><br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 22:01:07 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461806950</guid>
      </item>
      <item>
         <title>Nick Meza</title>
         <author>nickmeza</author>
         <link>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461807317</link>
         <description><![CDATA[<div>#!/bin/bash<br>NAME=$1<br>if [ -e $NAME ]<br>&nbsp; &nbsp;then<br>&nbsp; &nbsp;echo "La capeta $NAME ya existe."<br>&nbsp; &nbsp;exit 1<br>fi<br>mkdir $NAME<br>cd $NAME<br>echo "Johan Renzo Mamani Simeon\n" &gt;&gt; Integrantes.txt<br>echo "Jorge Maquera Canales\n" &gt;&gt; Integrantes.txt<br>echo "Nick Carlos Meza Rivera\n" &gt;&gt; Integrantes.txt<br>echo "listo"</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-04-26 22:01:16 UTC</pubDate>
         <guid>https://padlet.com/jenson2/8bbxesdgnyyx32x7/wish/1461807317</guid>
      </item>
   </channel>
</rss>
