Tag Info

New answers tagged


To unhide the directory in PowerShell: (get-item -force <name-of-directory>).Attributes = '' With aliases: (gi -fo <name-of-directory>).Attributes = '' I used this article as a reference and simplified the syntax a bit.


You can use the below command with atime if the files are accessed often find /sourcedirectory -type f -atime +365 -exec mv -t /destinationdirectory {} +;


According to this old thread on the apache-modssl mailing list, file() reads the contents of the file into a single string, and so special characters (such as newlines) in the referenced file may break the SSLRequire syntax. Given that this was posted by the original author of mod_ssl, I'd trust this theory to be spot on. Try with the following contents in ...


I've seen recently a response on spiceworks website so I'll quote it. tools like treesize cannot help me finding what folder growed since yesterday ? I am talking about a file server with thousands of folders and files (380GB data) I use xinorbis (freeware) by now but it needs 6 hours to scan our file server with 386Gb of data while it runs as ...


when i using GlusterFs we have a bottleneck with T files with zero size, for sync between crashed brick or replica we must use --min-size=1 to not syncing empty file from crashed server


Here's another better answer which is a good compromise between performance and security. Feel free to test it. FILE=$1 SERVDEST=$2 SIZE=`du -h --apparent-size $FILE | cut -f1` DATE=`date +%Y%m%d%H%M` tar czv - $FILE | ssh $SERVDEST "cat - > /backup/backupSO/nc_$FILE.tgz" For even more performance, you can set theCompressionLevel (with -o) and use a ...


What you're doing is useless. You should use use scp. It's basicaly the command to send files over ssh. example: FILE=$1 SERVDEST=$2 SIZE=`du -h --apparent-size $FILE | cut -f1` DATE=`date +%Y%m%d%H%M` tar czv /tmp/tmpfile.tar.gz $FILE scp $FILE $SERVDEST:/backup/backupSO/nc_$FILE.tgz rm /tmp/tmpfile.tar.gz


Just ran into this problem. And if you want rsync to treat symlinked directories as directories, you want the K option rsync -K /files/ user@server:/files/


In nginx.conf set the max body size. client_max_body_size 20M; Also GoTo /etc/php5/fpm/php.ini ; Maximum size of POST data that PHP will accept. post_max_size = 100M ; Maximum allowed size for uploaded files. upload_max_filesize = 100M

Top 50 recent answers are included