Tuesday, March 02, 2010

Linux - Copy a file to all subfolders of a folder with one command - Apple Store Toolbar

Linux - Copy a file to all subfolders of a folder with one command:

Over the weekend, I was installing a demo of some web-based help desk software, and this particular package used encrypted PHP files. With my hosting company, I have to place a php.ini file in every directory that contains encrypted files, or the site won't work. This particular package had hundreds of directories, buried in folders and subfolders, and I was dreading the task of copying this one file into each of them.