From 2ab38454ff578387503d928eb4ea221b6e5ab458 Mon Sep 17 00:00:00 2001 From: moacyrrln Date: Tue, 18 Aug 2020 18:41:17 -0300 Subject: [PATCH 1/2] =?UTF-8?q?bonus2.sh=20altera=C3=A7=C3=A3o=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bonus2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus2.sh b/bonus2.sh index e4102f4..0a07ab5 100755 --- a/bonus2.sh +++ b/bonus2.sh @@ -1,4 +1,4 @@ #!/bin/bash data=`date +"%Y-%m-%d"` -rename 's//'$data'-/' *.png \ No newline at end of file +rename 's//'$data'-/' *.pngVou ter muito sucesso na programação! From 9c37f5280787b57812c6a26e99dec2ca93b26565 Mon Sep 17 00:00:00 2001 From: moacyrrln Date: Tue, 18 Aug 2020 19:18:10 -0300 Subject: [PATCH 2/2] commit apagando arquivo --- bonus3.sh | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100755 bonus3.sh diff --git a/bonus3.sh b/bonus3.sh deleted file mode 100755 index e882573..0000000 --- a/bonus3.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -clear - -data=`date +"%Y-%m-%d"` -#rename 's//'$data'-/' *.png -#/home/moacyr/Documentos/Trybe/1_5 - -#cd /home/moacyr/Documentos/Trybe/1_5/$1 - -#pwd - -#echo $data - -#rename 's//'$data'-/' *.$2 - -cd /home/moacyr/Documentos/Trybe/1_5 - -ls -f > lista - -mv lista /home/moacyr/Documentos/Trybe/1_5/teste2 - -cd /home/moacyr/Documentos/Trybe/1_5/teste2 - -echo $lista - -for item in lista - do - if [ -f $item ] - then - echo $item - fi - done \ No newline at end of file