Ubuntu :: Set My Log Files To Copy Themselves To A Different Location ?
Dec 12, 2010How can I set my log files to copy themselves to a different location every, say, two weeks? Thanks in advance.
View 1 RepliesHow can I set my log files to copy themselves to a different location every, say, two weeks? Thanks in advance.
View 1 RepliesIs there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.
Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.
When I use ldd it prints the location of the depends.Is there a way to copy the depends listed to a location in a single command or streamline it? I don't want to copy each dependence once at a time.
View 1 Replies View RelatedFile is named similar to : logout 10.10.10 100817.txt
I need to copy this to a new directory.
To fine the latest file I was advised to use code...
I downloaded the bin file, and installed it but I haven't realized that I made the folder in the current directory. I would like to install in /usr/java.
Can I now just copy paste it there. Or I need to re-install to desired location I installed JRE , is that ok or I need to install sdk
I am a fresher in shell script, I want to copy only new file in a directory to some other location. I am able to find new file using
"ls -ltrh | tail -1", it is showing new file. But I don't know how to add in the shell script to copy that new file to other location.
I want to copy location of every .avi , .jpg file present in a folder or in subfolder present in a direcotry and save in a textfile how to doex : /home/username/Desktop/bookofeli/video/book.aviit should give full locaiton of path how to do
View 2 Replies View Relatedrather after I have had no problems installing 11.3 on a new hard drive, , can I simply mount the old one and copy libdvdcss to the same location on the new drive, or does it need to be "installed"?
View 5 Replies View RelatedI am attempting to copy a set of sub folders from their multiple parent directories to a new location.
For example, I have three folders to copy:
I would like them to be copied to:
In actuality there are many folders besides folder1, folder2, folder3, and no numerical order exists. So, the folder named 'photos' would be copied to its parent folder's name in a new location. I would need this to occur for all folders in the '/home/user' directory.
just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?
View 1 Replies View RelatedI have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.
Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.
I would like to delete the MySQL ib_logfile but do not know where the files are located on my machine. I am running the latest version of Ubuntu.
View 1 Replies View RelatedDoes anyone know where the Gedit configuration file/s are located?I knowthat the ~/.cache/ contains some information and deleting it removes the most recent documents list in the File menu.However, if I wanted to remove the most recent Find and Replace information which appears in the drop-down box when you choose Find or Replace, what file would I need to remove or edit.
View 4 Replies View Relatedsuppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt
How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt
Can 'cp' search for all file and copy them in another folder?
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies View RelatedWe are on a vps with godaddy and i was just curious that where are all the .MYI files saved
View 1 Replies View RelatedI am running VMware inside windows 7 64bit.I have installed ubuntu 2.8 ultimate edition on a 20gb partition and used 1gb of ram....everything is updated etc and running good. I checked in the VMware tools bar the entity tab,and says tools is not installed.
So when i run the install everything goes well untill it reaches the point where it says "What is the location of the directory of C header files that match your running kernel?
I have tried everything,different tutorials,installed a build package etc and it still asks for the directory. here is the uname r output :
uname r : 2.6.35-24-generic
I'm trying to install vmware tools in mint.
All goes well until I get to this -
What is the location of the directory of C header files that match your running kernel? [usr/src/linux/include]
When installing the vmware tools it says to just hit enter and the default will be used.
Hitting enter just keeps giving me the error message- The path "usr/src/linux/include" is not an existing directory.
When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.
View 6 Replies View RelatedI have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?
View 1 Replies View RelatedI recently forced a reset on my applications menu, this system has been updated since at least Intrepid all the way through to Maverick and so I have decided to start having a bit of a clean up. Having deleted my ~/.config/menus directory and logged out/in, I noticed that I now have a menu for 'Other' within my applications menu, there must be around 200 entries in there, detailing every app I have ever installed through wine (whether they are still installed or not) along with a few others (VMWare player for one example).
Where are the files located that the computer probes to regenerate this menu? I'd like to clear the list as much as possible as the same list gets in the way when choosing what program a file should be opened with (it's far easier to choose from a list of currently installed apps than a list of 300 or so possibly installed apps).
me where I can find out about file locations in kde4?
View 1 Replies View Relateddoes any one have any idea how can I find the location of the files I listed using rpm -qa?
eg, 1 of the result returned from rpm -qa is yum-3.2.22-20.el5 how can I find the location of this program?
I'm working on a little bash script for copying files from one location to another, while sending the verbose output of cp to a text file.
how can I append a time stamp to the verbose lines in the log file.
The command:
Code:
cp -fRcp dir1/* dir2/ >> log/$(date +%y-%m-%d)_log.txt
Again, I want to know how I make the time stamp appear in front of the line inside of the log.txt.
While setup of vmware on CentOS5.4 i am facing the below error.What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux/include]
View 5 Replies View RelatedI am using Fedora 12 with VMWare Player 3. I want to install the vmware tools. To get them properly working i need the location of the kernel header files. In which directory are they usually stored?
View 2 Replies View RelatedI installed fedora 12 very recently after which I installed a few files. I don't know where these files get installed. Is there a default location for newly installed files?
If there is one, is it possible to change the location?
I'd like to move a selection of files from all the sub-directories within an overall directory to a single destination. I don't want any of the directory structure, just the files themselves. This is what I tried so far:
mv /dir1/*/igs*.sp3.Z /dir2
There are other .sp3.Z files in the * directories within /dir1 but I just need the ones that start with igs..
We have setup a separate partition to keep our audit files, but I am at a loss to figure out how to redirect the log files to be stored there instead of the default.
I am sure it is a simple matter but I have been unable to locate the information.
Does anybody here know a program (Linux-based or even Windows-based) which permits looking at the files structure of a harddisk in such a way that you can find out what file lies where on the harddisk?To specify further what I mean, back in the DOS days the Norton Utilities would show the distribution of files on a harddisk. It would show the harddisk as row upon row of rectangles, marked as used or not used, and the top left rectangles were the beginning of the harddisk while the lower right were the end of it.Now if a program put some files at the end of the harddisk it was possible to mark the filled rectangles and find out exactly which files were there.
View 9 Replies View Related