Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit f1648dbe
authored
2023-10-03 11:07:35 -0300
by
Juan Pablo dure
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
cfsdcs
1 parent
74684e50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
fosadiaria.py
grep.sh
fosadiaria.py
View file @
f1648db
...
@@ -70,7 +70,7 @@ class FosaDiaria():
...
@@ -70,7 +70,7 @@ class FosaDiaria():
def
_BuscarExcelDescargado
(
self
,
tmp
):
def
_BuscarExcelDescargado
(
self
,
tmp
):
rta
=
False
rta
=
False
#cmd = f"""ls {self.CarpetaDescarga} -ls |grep {self.cabezaera}| grep xls | grep -v crdownload""".split(" ")
#cmd = f"""ls {self.CarpetaDescarga} -ls |grep {self.cabezaera}| grep xls | grep -v crdownload""".split(" ")
rte
=
subprocess
.
check_output
([
"bash"
,
grepfile
])
rte
=
subprocess
.
check_output
([
grepfile
])
#os.system(cmd)
#os.system(cmd)
#print(cmd)
#print(cmd)
print
(
rte
)
print
(
rte
)
...
...
grep.sh
View file @
f1648db
#!/bin/bash
ls /home/juan/Descargas/ -ls |grep Planilla_Diaria-54| grep xls | grep -v crdownload
ls /home/juan/Descargas/ -ls |grep Planilla_Diaria-54| grep xls | grep -v crdownload
\ No newline at end of file
\ No newline at end of file
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment