Slackware :: Move Into New Directory To Get Wine Working In New Directory?

Aug 1, 2010

I came from the Debian world so I did not do much building software from source. I successfully built wine from source, now the wine binary is in the same directory where the Makefile and all of the other source stuff is. I can run wine from that directory fine, but I sort of want to move it somewhere else. I tried moving the wine binary somewhere else, but when I try to run it I get

[code]...

What all do I have to move into the new directory to get wine working in the new directory? By convention, where should I move wine, I want it available for all users, should I move it to /opt/wine, or /usr/local/wine, or somewhere else?

View 6 Replies


ADVERTISEMENT

Fedora :: Copy A Few Files From Windows Directory Into The Wine Directory

Aug 1, 2009

i want to copy a few files from my windows directory into the wine directory - its no big deal, just a few preference files so i dont have to set something up all over again. trouble is, i had the files copied, but i cant find the wine/ c: drive directory anywhere, anyone know where this can be found??

View 8 Replies View Related

General :: Changes Directory To The Previous Working Directory?

May 15, 2011

Just a simple question

Code:
$ cat -
do in the Bash? I know 'cd -' changes directory to the previous working directory, but 'cat - ' does not seem to do the same thing.

View 3 Replies View Related

General :: Move The Srv Directory To Another Partition?

Jun 28, 2010

When installing Ubuntu (10.04) I chose the /home to be installed in a separate partition.I would now like to move the /srv directory into the same partition. The problem I found is that Ubuntu did not make a /home directory inside the partition itself. It just places the account directories in the partition and mounts it to /home. So I cannot just easily move the /srv folder into the partition.

How can I:

Move those account directories into a home folder inside the partition Make that new home folder the default /home folder. ditto with the /srv folder, or any I choose in the future.

View 3 Replies View Related

Ubuntu :: Saying Cannot Move, Directory Not Empty?

Jul 20, 2010

I'm trying to move a folder via sudo mv ioncube /usr/local/bin/

but it says something cannot move since directory is not empty. What do I do now?

View 5 Replies View Related

Ubuntu :: Rename/Move Directory With Bad Name?

May 17, 2011

I have a directory which was downloaded and has a silly name like "-=Directory=-" on my headless (no GUI) linux box and when I try to deal with this directory using "mv" in order to rename it or move it somewhere, it simply does not work. Terminal instead says:

Code:
mv: invalid option -- '='

how I can rename or move it?!

View 6 Replies View Related

General :: Move Old File To Other Directory?

Feb 2, 2010

I have a directory , there are many files created in it , I want to use the command to move the files which elder than 30 days and gzip it and then move it to /tmp , and then remove those files , I tried use below command but not work.

find ~path -type f -mtime 30 -exec tar -zcvf - {} --remove-files > /tmp/oldfile.tgz ;

View 1 Replies View Related

Debian :: Find All Pictures And Move Them To One Tmp Directory?

Feb 16, 2010

I have directory with sub directories in it. Inside I have bunch of pictures. I would like to find all pictures, and move them to one tmp directory. While moving there might be files with same names. The command I use:

--- find . -name '*JPG' -exec mv -i {} /home/xxx/xxx/xxx/Pictures/2004/tmp ; ---

now the problem comes with overwrite if there are two files with same name. Is there any simple way to copy all files into one directory and not to loose any, appending certain, even random char, to the 2nd file would do.

View 2 Replies View Related

General :: Move Files To Another Directory Using A Cron Job?

Sep 29, 2009

I have a php script in cron directory that generates 5 textfiles, after the files are generated, I want to create a script that will move the 5 text fiels to anoher folder name "web".

View 2 Replies View Related

General :: Move The Home Directory To Another Partition?

May 25, 2010

I created a partition in my hard disk for my data (documents, multimedia, etc.).How can I:Move the /home/ directory to the new partitionMake the OS (Ubuntu Linux) treat that directory as the default /home/.

View 1 Replies View Related

General :: Move All Files And Folders Into A New Directory?

Jan 25, 2011

Unix - In Linux, how do I move all files and folders into a new directory?

View 4 Replies View Related

Ubuntu :: Move /usr Directory From Sda1 To Sdb1?

Jun 16, 2010

I have 2 hard disks, one is full and I would like to move my /usr directory from sda1 to sdb1.

I tried the following..

sudo mkdir /driveb
sudo mount /sdb1 /driveb
cd /driveb
sudo mkdir /usr
sudo cp -b --copy-contents -r /usr /driveb/usr
code....

I don't fully understand the difference between a directory and a mount point and I may be treating them wrong.

I would like /usr to point to sdb.

is it possible, or should I try to change my path instead and ignore this problem?

View 8 Replies View Related

Ubuntu :: Move The /home Directory To A Different Location?

Jun 29, 2010

I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.

I have a drive (/dev/sda5) mounted as /media/data

I would like to move /home to /media/data/home?

I have tried usermod but get the following error:

Code:
test@TestServer:/media/data$ sudo mkdir /media/data/home
test@TestServer:/media/data$ ls
home lost+found
test@TestServer:/media/data$ sudo usermod -dm /media/data/home
usermod: user '/media/data/home' does not exist

View 2 Replies View Related

Ubuntu :: Cannot Move Mysql Data Directory

Nov 6, 2010

Ubuntu 10.04. I've tried every method I can find and none work. Here's what I know...

1. My /etc/my.cnf is ignored. I can even delete it and phpmyadmin continues to work as it did before.

2. If I move /var/lib/mysql and replace it with a new directory (chowned to mysql:mysql so it looks like it's got the same ownership & permissions as the original) I get a write permission problem, e.g.

Quote:

What I ultimately want to do is used existing database files on a FAT32 partition but I can't even get to first base.

View 2 Replies View Related

Ubuntu :: Unable To Move Home Directory

Dec 28, 2010

Ubuntu 10.10 32 bit/ and /storage are on two different partitions. I want to move my home directory to the /storage partition, so I went to System -> Administration -> Users and Groups then Advanced Settings then the Advanced tab. I changed Home Directory from /home/billy to /storage/home/billy. I click on ok and I'm asked if I want to copy all the user's files over to the new location or start fresh. I click, Copy Files. It acts like it's doing something, but all it does is create the home/billy directories inside /storage, but it never copies files over and the next time I go to /home/billy it's still in the old location. What the heck is the deal?

View 7 Replies View Related

Ubuntu :: Move M /home Directory To New Partition?

Jun 22, 2011

How do you do this without breaking all the links and preferences in /home? Does the system take care of everything? Has anyone done it or is it actually system crippling?

View 2 Replies View Related

General :: Move And Create A Directory At The Same Time?

Nov 19, 2010

I am trying to clean my computer. Basically I try to order some movies to put all of them in directories. I started by hand but I am loosing time I guess. I want to do something like:

mv *.avi /nonexisting_directory/

nonexisting_directory being the name of the file without .avi, changing for each file. How can I write in command lineor in script?

View 10 Replies View Related

General :: Use Wget To Move Content From One Directory To Another?

Sep 21, 2010

I am new to linux and wget...what would be the syntax to use wget to move content from one local directory to an svn repository (svn commit)? For instance if i have a directory c:\dir1, and i want to move it's content onto an SVN repo...is this possible using wget? If so, how do I get this done?

View 2 Replies View Related

Fedora :: Shrink Home Directory And Move It To The End Of The Drive?

Aug 1, 2009

So I messed up a little and didn't leave enough room on my disk. I want to shrink my home directory and move it to the end of the drive. Is this possible? It's ext4 but no an LVM partition though.

View 1 Replies View Related

General :: Don't Move A Directory / File If Src And Dest Are On Different Partitions

Feb 13, 2010

In order to protect myself if I make a mistake in typing a directory/filename path, I am searching for a way to prevent mv from doing anything if the source and destination files exist on separate partitions.I see no options in the man page.I just need to find a way to get the partition the directory/file is on

View 1 Replies View Related

General :: Move 1 File To A Directory Containing 3 Million Files?

Jul 25, 2011

the system currently have a directory with all the invalid files. how bad is it to move a single file to a directory containing 3 million files already?

View 2 Replies View Related

Ubuntu :: Script Or Command To Move Files To Directory Of Same Name

Mar 12, 2010

I'm doing a little work on my media center and the scrappers seem to do a much better job when each movie is in a directory with the name of the movie. However that's not how i have things set up.I have a few hundred avi files i need moved to directory named the same as the avi file.

View 3 Replies View Related

Ubuntu :: Copy / Move Random Files From One Directory To Another

May 7, 2011

We have two folders: source folder and destination folder. In source folder we have many sub folders and many files of different type!Script that would copy or move defined number of files from source to destination folder. Files must be selected randomly and sub folder in source folders must be selected randomly and we don't copy or move defined number of files just form one sub folder in source folder. In destination folder sub directory structure of source folder should not be preserved. Solution should be robust and as simple as possible.

View 9 Replies View Related

Ubuntu :: Move Files From Folder/subfolders To A Different Directory?

Jan 10, 2011

I would like to know how to move all the files from a single folder and its subfolders to a single, different location in as few steps as possible. For example when I download files from one of my school's websites, the file I want is located in a deep sub-directory. So, I have to cd many times just to get to the file I want. Is there a way to recursively move all the files within a folder's subdirectories into a new location?

View 2 Replies View Related

General :: Syntax For CP - Making Virtual Move To Directory

Jun 13, 2011

I just joined LinuxQuestions and find no Forum specific to command-line syntax questions, so I'll post it here. Here is the question. I can use:
cp -vr --parents /a/b/c/this /x/y
to create a directory /x/y/a/b/c/this containing this and everything under this.

But how could I create a directory x/y/b/c/this (ie omitting a)? I could MOVE to /a/ and then use
cp -vr --parents b/c/this /x/y
but I really don't want to do the MOVE (and can think of circumstances where I might not be able to).

I'm really looking for something exactly similar to the
tar -C DIRECTORY
switch that allows one to make a virtual move to the directory DIRECTORY before commencing the tar operation.

View 5 Replies View Related

CentOS 5 :: Move User's Home Directory To A Different Disk?

Oct 20, 2009

I would like to move a user's home directory to a different disk. Is there a "clean" way to do this? Specifically, is it safe to just copy all the .* files to the new destination and then change the home in the user config? Or are there maybe environment entries with absolute paths which will cause problems with this strategy?

View 5 Replies View Related

Fedora :: How To Install Wine - Directory Is Wrong

Apr 26, 2011

I'm new to fedora. I am using a core i3 desktop computer. I installed fedora 14 into my desktop and I Downloaded a wine 1.3.14.tar but I cannot install it. I tried tools/wineinstall in the terminal bu it say "Your directory is wrong".

View 14 Replies View Related

Ubuntu :: Use Windows Partition As Wine Directory?

May 27, 2010

I do have a dual boot system vista and ubuntu but thought it would be nice if I didn't have to switch back and forth for some things. Since I all ready have windows installed with all the required files, directory, and registry is their any way ubuntu could pick those up for running windows programs. Instead of emulating them in wine. In theory I could install my programs under windows and run them under ubuntu if ubuntu recognized my windows partition as c drive instead of OS.

View 6 Replies View Related

Debian Configuration :: File Don't Move To Samba Trash Directory

Aug 26, 2015

I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun

The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :

# Samba Trash
#--------------------------------------------
# http://samba.org/samba/docs/man/Samba3-HOWTO/VFS.html

[code]....

The samba trash work for an another site of our company.

View 0 Replies View Related

Ubuntu :: Move The Users Home Directory To An External Drive?

Jan 19, 2010

As I regularly move between Mac and PC, I thought it would be a good idea to put all my data on an external drive. As Windows 7 and OS X have similar home folder layouts, I just simply put all the folders I need for both on the root of the external drive and changed a few settings so that the Home folder for my user is on the external drive on both Windows and OS X.

Whilst Ubuntu also has a similar structure, I cannot work out how to have it so that my users home folder is on the external drive. I have done a little research and all I can find is how to have the /home directory on another partition. a) this is not what I'm trying to do, just the folder for my user and b) this would mean formatting the external drive to extX format, which just wouldn't work for me.

I am using 9.10 (or will be once the upgrade is complete)

View 9 Replies View Related







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