Skip to main content
7 events
when toggle format what by license comment
Dec 17, 2018 at 17:41 comment added libbynotzoey I made some changes as recommended and now I am getting the file to move properly, though the filename when extracted is simply "-". Perhaps there is something wrong with the way the variable is stored. Thanks everyone for your input. Learned lots.
Dec 17, 2018 at 14:37 comment added Evolter I think it isn't fault of the mv command - there must be something changing the variable used to specify the target. Maybe try printing the command (echo mv $TEMPPATH/$DATEFORM-$SITE.sql.zip $BACKUPPATH/$SITE) or related variables (or log to a file echo "$BACKUPPATH/$SITE" >> /tmp/log) every few lines.
Dec 17, 2018 at 14:34 history edited Evolter CC BY-SA 4.0
added 550 characters in body
Dec 17, 2018 at 5:40 comment added libbynotzoey I added the actual script above in case that helps.
Dec 17, 2018 at 5:24 comment added libbynotzoey How strange. I don't understand what I'm doing wrong. I did try dropping the filename from the target as suggested.
Dec 16, 2018 at 23:05 review First posts
Dec 16, 2018 at 23:18
Dec 16, 2018 at 23:02 history answered Evolter CC BY-SA 4.0