Below is a little snippet to rename files in a linux directory. This code will loop through all the text files in a directory and remove the first 10 characters
Removing characters from a file name in linux
Below is a little snippet to rename files in a linux directory. This code will loop through all the text files in a directory and remove the first 10 characters
I hate Centos. But I have to use it. One of the main drawbacks for a soundgirl like me is that I cant listen to m4a formats using Rhythmbox. Well after 4 years of using Centos I have finally got off my backside to find a player that will. So if you are using Centos
This took me 15 minutes to work out. So hopefully this little tip will save someone else 15 minutes of their life so they can do something more interesting like watch Jeremy Kyle. In my php script was the call to create a directory on the fly
|
1 2 3 |
$mode = "0755"; mkdir($mypath, $mode); |
but the blinkin privs were showing up