Ubuntu :: Set My Log Files To Copy Themselves To A Different Location ?

Dec 12, 2010

How can I set my log files to copy themselves to a different location every, say, two weeks? Thanks in advance.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Command Line To Copy Files From One Location To Another / Retain Source Files Group / User?

Feb 20, 2011

Is 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.

View 5 Replies View Related

Ubuntu :: Copy Files From Ldd To Location?

Jan 30, 2010

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 Related

Ubuntu :: Copy File To New Location?

Nov 29, 2010

File 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...

View 3 Replies View Related

General :: Copy Jre Folder To Another Location?

Jul 10, 2011

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

View 1 Replies View Related

General :: Copy Only New File To Other Location?

Jul 19, 2011

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.

View 7 Replies View Related

Ubuntu :: Copy Folder Location And Save In Text File?

May 17, 2010

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 Related

OpenSUSE Install :: Copy Libdvdcss To The Same Location On The New Drive?

Jul 18, 2010

rather 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 Related

General :: Copy A Set Of Sub Folders From Their Multiple Parent Directories To A New Location

Nov 5, 2010

I 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.

View 6 Replies View Related

Ubuntu Networking :: Copy Files From XP Infact Folders Using TERMINAL In Netbook, Not Copy And Paste Using Mouse?

Jul 9, 2010

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 Related

Fedora :: Disk Copy Utility - Should Be Able To Not Only Copy Files But Boot Sector And Everything

Sep 1, 2010

I 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.

View 11 Replies View Related

General :: Location Of MySQL Log Files On Ubuntu

May 11, 2011

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 Related

Ubuntu :: Location Of Gedit Configuration Files?

Jan 27, 2010

Does 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 Related

Ubuntu :: Copying All Files In Folder To Another Location?

Feb 21, 2011

suppose 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?

View 2 Replies View Related

General :: Creating A Script To Move Or Copy Files Into Multiple Directories Below The Files?

Aug 25, 2009

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 Related

General :: Location Of .MYD Files?

Jun 29, 2010

We are on a vps with godaddy and i was just curious that where are all the .MYI files saved

View 1 Replies View Related

Ubuntu Installation :: Location Of The Directory Of C Header Files?

Jan 4, 2011

I 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

View 7 Replies View Related

General :: Location Of C Header Files ?

Jan 30, 2011

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.

View 14 Replies View Related

General :: Can't Copy Files To Root Owned Files?

Feb 1, 2011

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 Related

General :: Copy Files And Folder Except Some Files And Folders?

Jun 8, 2010

I 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 Related

Ubuntu :: Files Location That Computer Probes To Regenerate Menu?

Nov 20, 2010

I 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).

View 3 Replies View Related

OpenSUSE :: Location Of Calendar Files In Kontact?

Jul 23, 2010

me where I can find out about file locations in kde4?

View 1 Replies View Related

General :: Find The Location Of The Files Listed Using Rpm -qa?

Feb 24, 2011

does 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?

View 4 Replies View Related

Software :: Script For Copying Files From One Location To Another?

Feb 10, 2010

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.

View 3 Replies View Related

CentOS 5 :: The Location Of The Directory Of C Header Files?

Jan 5, 2010

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 Related

Fedora Installation :: Location Of Kernel-header Files

Dec 24, 2009

I 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 Related

Fedora :: Default Location For Newly Installed Files?

Jan 14, 2010

I 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?

View 1 Replies View Related

General :: Move Some Of The Files From Multiple Directories To One Location?

Jun 17, 2010

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..

View 4 Replies View Related

Security :: Change Location Of Stored Audit Files?

May 5, 2011

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.

View 1 Replies View Related

Software :: Program To Inspect Harddisk Location Of Files?

May 9, 2010

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







Copyrights 2005-15 www.BigResource.com, All rights reserved