This is a very short post about removing the SVN files and folders from your directories.
find ./ -name ".svn" | xargs rm -Rf Cron is a time-based job scheduler in Unix-like computer operating systems. 'cron' is short for 'chronograph'.
If you would like to set up your Drupal and linux server to use the cron, these steps will help to achieve your goal.
Open up a console and change to the user which will run the cron.
Every user has it's own cron tab (which is the list of jobs cron has to run.)
If you prefer, create a new user for this job.
To access your crontab use the following command:
crontabThis will give you a summary of crontab's commands and switches.
To list your cronlist type:
crontab -land to edit the list:
crontab -e
If this is the first time you edit the crontab, it will ask you which editor you would like to use.
If you are unsure, use google to find out which editor is the best for you.
Inside the editor, add the following line to the end of the list:
*/5 * * * * /usr/bin/wget -O - -q -t 1 http://[your server url]/cron.phpThis will execure the cron.php in every 5 minutes.
Here is a diagram of the general crontab syntax, for illustration:
* * * * * [command to be executed]
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)
* in the value field above means all legal values as in braces for that column.
The value column can have a * or a list of elements separated by commas. An element is either a number in the ranges shown above or two numbers in the range separated by a hyphen (meaning an inclusive range).
If you got one or more of the following errors try to use the command below:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_GB.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Try to reinstall the local languages: (english pack)
sudo apt-get install --reinstall language-pack-en
How to move (or copy) all the selected files from several subdirectories to one single directory?
find [from_dir_name] -iname "[your file names like *.txt]" -exec mv {} [target dir name] \;
Just change mv to cp to copy.
Good luck.
If you don't have the vboxguestadditions.iso for your virtual machine, you can download it from here:
http://download.virtualbox.org/virtualbox/2.0.4/VBoxGuestAdditions_2.0.4...
Egy Toshiba Pro 60 laptopra próbáltam ma egy új Ubuntut felpakolni. A telepítéssel, az egész rendszer borzasztó lassúságán kívûl semmi gond nem volt.