Move wild card files adding timestamp

Requirement is to move the files from source to archive folder adding timestamp I have created the below script but it is not moving the date which i am passing as wild card File name: Test_20100101.txt sourcedir=/projects/source archivedir=/projects/archive FILE=”$1″ for file in $1; do fileroot=$1 mv -i “$sourcedir/$1″* “$archivedir/$1_$(date +”%Y%m%d_%H%M%S”)” done while executing i am…

Details

If I install the “ubuntu-desktop” package on a vanilla Debian OS, will I get the same OS as installing Ubuntu directly?

I originally asked this question here on AskUbuntu – there’s some discussion in the comments there if you’re interested. It was closed there as off-topic, and this was recommended as a more appropriate place to ask the question. I don’t know a lot about the meta OS-level workings of Unix/Linux and various distros. My understanding…

Details

ERR_TOO_MANY_REDIRECTS Error on multisite WordPress on Ningx

I am using multisite WordPress on Nginx and there is too many redirect issue on all WordPress wp-admin pages excluding the main site wp-admin page. Ningx config is below: upstream php-handler-https { server 127.0.0.1:9000; #server unix:/var/run/php5-fpm.sock; } server { listen 443 ssl default_server; server_name _; #server_name wordpress.example.com; ssl_certificate /etc/nginx/ssl/server.crt; ssl_certificate_key /etc/nginx/ssl/server.key; root /var/www/html/; index index.php;…

Details