How do I gunzip all files .gz recursively in a target directory?
The solution is very simple gunzip -r * This will extract all .gz file in the respective directory and sub directory and remove the .gz files as well. Vinod RamVinod…
The solution is very simple gunzip -r * This will extract all .gz file in the respective directory and sub directory and remove the .gz files as well. Vinod RamVinod…
<FilesMatch “\.(ttf|otf|eot|woff|js|css|woff2)$”> # Type all extenstion that you want to allow <IfModule mod_headers.c> Header Set Access-Control-Allow-Origin “*” </IfModule> </FilesMatch> Vinod RamVinod Ram has been in Software Industry since 2006 and…
Untar files in Current Directory tar xvf whatevername_yougive.tar If you want to untar in specified directory tar xvf whatevername_yougive.tar -C /path/of/directory/to/un-archive Check how to compress or create tar file here…
scp fileName userName@remoteServerIP:remoteServerFolderPath Example : >scp abc.txt root@XXX.XXX.XXX.XXX:/home/xyzFolder/ once you type this command, system will ask for the remote server login password.once password is verified , file get copied to…
$c->add(TblUsersPeer::USR_TYPE,array(2,3,6),Criteria::IN); $c1 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,$this->getUser()->getAttribute(‘userid’),Criteria::EQUAL); $c2 = $c->getNewCriterion(TblUsersPeer::USR_PARENTID,null, Criteria::ISNULL); $c1->addOr($c2); $c->add($c1);
When some special character(or other language data) is displayed as ‘? ? ? ? ?’ in browser, then you have to make the following change. 1.In your table set the…
function timeDifference(startDate,endDate) { date1 = startDate; date2 = endDate; laterdate = date1.split(“-“); laterY=laterdate; laterM=laterdate; laterD=laterdate; earlierdate = date2.split(“-“); earlierY=earlierdate; earlierM=earlierdate; earlierD=earlierdate; var laterdate = new Date(laterY,laterM,laterD); var earlierdate = new…