Skip to content

Commit

Permalink
cleanup basic image types
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharlie committed Aug 2, 2022
1 parent a64e592 commit 42380de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion geodata/cleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ Set-Location (Split-Path -Parent $MyInvocation.MyCommand.Path)

# remove files by pattern
$patterns = (
"*.zip",
"*.png",
"*.tif",
"*.jpg",
"*.jpeg",
"*.qgs",
"*.qgz",
"*.py",
Expand Down
2 changes: 1 addition & 1 deletion geodata/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

cd $THISDIR

patterns = ( "*.zip" "*.qgs" "*.qgz" "*.py" "*.db" "*.geojson" "*.gpkg" )
patterns = ( "*.zip" "*.qgs" "*.qgz" "*.py" "*.db" "*.geojson" "*.gpkg" "*.png" "*.tif" "*.jpg" "*.jpeg" )

for i in "${patterns[@]}"
do
Expand Down

0 comments on commit 42380de

Please sign in to comment.