Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 812 Bytes

readme.md

File metadata and controls

28 lines (20 loc) · 812 Bytes

Import a csv into google sheets


# Important to add to run locally
# add imports to global Python

# move/copy files to 'MAIN_DIRECTORY_WHERE_CODE_WILL_LIVE'
# code must always run from 'MAIN_DIRECTORY_FROM_WHERE_THE_CSV_WILL_BE_PULLED'

# add alias
~/.bash_aliases
alias csv="/user/enrique.gomez/placed directory/main.sh"

# be careful with directories, not the same rule applies for all files, mainly for importing the csv

# how it runs
alias "argument"
# then you will be requested the spreadsheet and/or sheet name as well as the spreadsheet id if you want to append a sheet

# argument
new = creates a new spreadsheet importing the indicated csv
sheet = adds a sheet to indicated spreadsheet, by ID


@engo09_k