I have Cygwin installed on my Windows 7 64 bit PC and I often download large files using wget. wget, however, saves all files with permissions that forbid me from executing the files when they're Windows executable files (.exe or .msi). Is there any way for me to set the permissions such that I can execute these files automatically? Can I also change the default directory to which they're saved? Presently they are saved to the cygwin folder
C:\cygwin64\home\Brenton and I'd like to save them to
For clarity's sake I know how to move these files to my desired directory manually after they're saved (e.g., using:
mv filename C:\Users\Brenton\Downloads
where filename is the file name that needs to be transferred) and I know how to change permissions manually via:
chmod 755 filename
but what I want is an automatic way so that all files downloaded via wget from henceforth would be downloaded to my preferred directory with my preferred permissions.