Tagged Questions
5
votes
1answer
862 views
Cannot open: Input/output error with tar command in a shell script
I am trying to create a tar ball in a shell script (I have enabled set -x), but I get an error:
+ cd /home5/mysite/public_html
+ TAR_DUMP=gypo_2012-02-18-03:51:15.tar.gz
+ echo 'Tar name: ...
3
votes
1answer
163 views
Extract directory from wget's stdout
I am trying to wget a tarball from github.com and, without creating a temporary file, extract a subdirectory from it:
wget -qO- https://github.com/django-nonrel/django-nonrel/tarball/develop | tar ...
-1
votes
2answers
2k views
Wait for process to finish before going to the next line in shell script
I have a script I made to create a backup. I need to make sure the backup is ready before it runs the /home/ftp.sh command. How can I do so? I use CentOS 5.6
#!/bin/bash
tar -Pcf ...