Gallery 1 click upgrade cleanup script

apps

#1

I have upgraded a Gallery install to v2.1 via 1 click.

During the upgrade process a note allows one to download a script called cleanup.sh which removes 3000+ outdated files.

I put the cleanup.sh in the new gallery directory. I ssh’d to the gallery directory, but do not know the command to execute the script.

sending “cleanup.sh” gets a bash error, command not found

How do I execute this script.

Thanks in advance,

Bill


#2

Does ./cleanup.sh work?

Mark


Save [color=#CC0000]$50[/color] on DreamHost hosting using promo code [color=#CC0000]SAVEMONEY[/color] ( Click for promo code details )


#3

No I get,

“-bash: ./: is a directory”

It does not work if i put the file in the enclosing directory either.

Bill


#4

I am no *nix guru, but I think that command should execute the script (assuming the script is in the current directory).

You didn’t add any spaces to the command did you? The command is ./cleanup.sh with no spaces.


Save [color=#CC0000]$50[/color] on DreamHost hosting using promo code [color=#CC0000]SAVEMONEY[/color] ( Click for promo code details )


#5

That’s it! I had a space. It executed fine.

Thank you very much

Bill