rsync -rv uploads_old/ uploads
I hope it helped. Feel free to comment...
C:\>icacls "D:\test" /grant John:(OI)(CI)F /T
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/icaclsvagrant init
vagrant box add hashicorp/precise64
"hashicorp/precise64". The box name consists of 2 parts; is username and is box name.Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
end
vagrant up
vagrant ssh
vagrant reload --provision java -jar jenkins.war
https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins
http://localhost:8080/
git--git-dir=/home/ubuntu/git/oneworldbox-stb-api/.git clean -df & git checkout .
$ ab -n 1000 -c 5 http://baseurl/qa.php/2_4/gxml/tier1/2/0/0/cc/device_id/etc/init.d/mysql restart
gcutil addfirewall http2 --description="Incoming http allowed." --allowed="tcp:http"https://developers.google.com/compute/docs/quickstart
sudo apt-get install apache2-utils
mysql -u mysql_user -p dabase_name < /path/import_file_name.sqlIt will ask for the password, enter the mysql password and your sql script will be executed.
mysqldump -h localhost -u mysql_user -pMysql_password database_name | gzip > /path/export_file_name_$(date +%m-%d-%Y).sql.gz$(date +%m-%d-%Y) is optional. It inserts today's date in the file name. You can also use this export command without $(date +%m-%d-%Y)
mysqldump -h localhost -u mysql_user -pMysql_password database_name | gzip > /path/export_file_name_$(date +%m-%d-%Y).sql.gz
gzip -d file.sql.gz