Ubuntu :: Moving A Folder In Terminal

Jan 23, 2010

I had a folder named "Rage Against the Machine" in my Home directory which contained a bunch of music files. I opened my Terminal window and planned on moving it to a folder named "Downloads" inside my home folder, so I used this command:

Code:
sudo mv "Rage Against The Machine" /Downloads

Now I can't actually find the folder inside Downloads, which I think it should be. so I even tried running this to find it:

Code:
locate "Rage Against The Machine"

and it couldn't find it either.

Where did it go??

The folder size was approximately 837.6 MB in size total.

View 4 Replies


ADVERTISEMENT

General :: Real Moving Of A Folder's Content To Another Folder?

Feb 7, 2011

Is there a Commend to move the content of a folder -only image files no subfolders- to another destination folder?Actully, I had a look on the following post:Post tilte:Using mv to move the content of one directory into anotherFrom it, I tried that:

Code:
# rsync -a SOURCE/ DEST/
But, it copy a folder as all to the distination.

[code]...

View 10 Replies View Related

Ubuntu :: Moving Files In Terminal \ Moving Files That Have Root Permissions?

Mar 4, 2010

I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.

View 3 Replies View Related

Ubuntu :: Cannot Change Directory To A More Than Three Folder Tree Destination Folder From In Terminal?

Sep 18, 2010

I cannot change directory to a more than three folder tree destination folder from ~ in terminal. I've checked everything. No Typos or misspell. The destination folder was recognized by "ls" command but when I went to it, the terminal said, "no such file or directory."

View 7 Replies View Related

Ubuntu Installation :: Moving The /etc Folder After Install ?

Mar 7, 2010

I've been setting up a media server on a an actual server machine I picked up dirt cheap, and had it running xUbuntu fine. gave it a 5gig root directory, 5gig swap partiton, and three 34gig storage drives. Everything was running smoothly.

Just recently I learned that the 5gig's dedicated to running my operating system of choice, aren't enough to install all the software I wanted(I might be just a little greedy). The first logical step to correcting this problem was to move /etc to one of the storage drives and create a link were it was, but not being entirely sure how xUbuntu would take that, I thought I'd get an expert opinion.

The thread prefix is "all variants" because I have installed the desktops for kUbuntu and just plain Ubuntu on this machine(what I meant by being a little greedy).

View 9 Replies View Related

Fedora :: Want To Right Click Folder In Nautilus To Open Terminal To Folder

Feb 19, 2010

I basically am hoping for a line of bash script I can put into "Open With" for folders so I can get a terminal with the right path. I hate manually typing in paths to places when I am looking right at them in nautilus. "gnome-terminal" doesn't work - it just opens a terminal to ~.

View 3 Replies View Related

Ubuntu :: Moving / Resetting The Cheese Webcam Folder?

Oct 11, 2010

Every time I start up my webcam in cheese, a folder is created called 'Webcam' in my home folder, and if this folder is deleted, it will be recreated when another session is started, i would ideally like to just have this folder hidden but if i do that then it will be recreated, so is there anyway of having the folder created as a hidden .Webcam? there is no option for this in the cheese menu.

View 6 Replies View Related

Ubuntu :: Moving One Users Home Folder To Other Disk?

May 29, 2011

How would you go about moving one users home folder to a different partition, while maintaining other users home folder on the current one. Will simply running "usermod -dm /path/to/new/home username" on one of the users do the trick.

I want to run one of the users of an SSD, while the other runs of a bigger SATA disk.

View 9 Replies View Related

Ubuntu :: Moving Downloaded Files To Correct Folder?

Sep 1, 2011

I'm looking for a script or a bittorrent client which is able to move a file after downloading and placing it in a specific folder depending on the file type. E.g. moving a newly downloaded movie to "Videos" and an ISO-file to "Files".

I feel as if i have used a client with this functionality before but can't remember the name.

Since I at the moment use Transmission as my bittorrent client a script would also work since Transmission can run it after finishing the download.

View 7 Replies View Related

Ubuntu :: Moving Files By Type In Terminal

Jan 30, 2010

Is there a command for moving a certain amount-or all files-of a certain type? I know how to move files around but I can't find anything that explains how you would move multiple files at once.Writing this, I wonder, is it possible to move files by their size-moving all files under or over a certain size-rather than by type or name? I've looked but can't find how to do this, or if it's possible. Can't find anything on google with any combination of search terms.

View 4 Replies View Related

General :: Moving Symlinks Into A Folder Based On Id3 Tags?

Apr 3, 2010

I'm trying to get my music folder into something sensible. Right now, I have all my music stored in /home/foo so I have all of the albums soft linked to ~/music. I want the structure to be ~/music/<artist>/<album> I've got all of the symlinks into ~/music right now so I just need to get the symlinks into the proper structure. I'm trying to do this by delving into the symlinked album, getting the artist name with id3info. I can do this, but I can't seem to get it to work correctly.

for i in $( find -L $i -name "*.mp3" -printf "%h
")
do
echo "$i" #testing purposes

[code]....

I'm trying to mv The Trance Mix 3 Wanderlust - DJ Exortius [TRANCE DEEP VOCAL TECH]@ into the real directory DJ Exortius. DJ Exortius already exists, so it's just a matter of moving it into the correct directory that's based on the id3 tag of the mp3 inside.

PS: I've tried easytag, but when I restructure the album, it moves it from /home/foo which is not what I want.

View 2 Replies View Related

General :: Move Content Of Folder Moving To Public_html?

Mar 25, 2011

i want to move all files inside the folder moving to folder public_html which command i should use? m using centos5 64bit tell me full command which i should writer in ssh client..so my all files will be moved to public_html...from moving folder.

View 4 Replies View Related

Server :: Stop Users Moving Up Folder Structure?

May 12, 2011

I have a Ubuntu 10.10 server; I have created several users and wish them to have their own web space (with a unique domain name for each). I have therefore created www folders within their home folder and created new Virtual Servers to host each domain name and point to the users www folder in their home folder. They can then use an FTP client to upload files. This all works well.

However, I would like to stop a user from going back up a level and traversing the tree.They can currently go back up to /home and see other users names.

View 6 Replies View Related

General :: Gnome Terminal Moving Through Folders?

Sep 10, 2011

I was wondering if there was a way to navigate back to the previous folder after a 'cd'.

e.g.
~/ cd /home/
~/ cd /usr/local/
~/ want should I write here to return to the home dir (not 'cd /home' ^^)

View 2 Replies View Related

OpenSUSE Install :: Changing Distro - Moving My Home Folder ?

Jun 29, 2010

From what I have understood, trying out different Linux distros is one of those things that a Linux user just needs to do now and again.

So what is the "best" way of keeping your home folder intact? Should I just copy the whole home folder to a separate storage space, install a new distro (I'm thinking going from Ubuntu to Suse) and then just past it in the newly installed distro? Or are there some other, more "refined" methods?

I thought one's home folder contains a lot of config and settings files, but they would surely just be applicable to the original distro!?

I know I can try out several distros via live CDs, which I have done, but when you've taken that next step and actually want to install another distro as your main Linux operating system.

View 7 Replies View Related

General :: Moving Files From Folders And Subfolders To A Specific Folder?

Aug 21, 2010

I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known

View 12 Replies View Related

Programming :: Bash - Recursive Find - Create Parent Folder - Moving File

Dec 5, 2010

I'm starting bash shell script and I'm looping without any solution.

I'm trying to find some files under a folder hierarchy and in case of errors moving these files to a destination folder under the same hierarchy recreating this hierarchy if not exists.

Finding all ._* files under /src and moving them to /dest recreating folder1 or the others which contains ._* files but without moving files which does not correspond to the pattern.

Code:

I tried find command and I'am getting all needed files

Code:

But I don't know how to use the output to get the parent folder of files which are found to

1- create folder with mkdir -p /dest/folder1 or /dest/folder1/folder4

2- move found files from /src/... to /dest/... with rm command

I'm working on a find command as this trying to do all in the same line but ... little lost

Code:

View 8 Replies View Related

Ubuntu :: Open GUI Folder In Terminal

May 28, 2010

I would like to open a folder using the terminal. In case of confusion, I dont mean to cd into the folder, but a command that opens the GUI of the folder.

View 3 Replies View Related

Ubuntu :: Access A Folder Through The Terminal?

Mar 16, 2011

I am trying to access a folder through the terminal but I am not sure how.

For example, I can access the documents by typing cd Documents. BUT I do not know how I can access a folder that for example has a long name like: scangearm-mp-250series-1.60-1deb.tar.gz

View 4 Replies View Related

Ubuntu :: Moving Buttons To Left - Keep Moving Back

Mar 27, 2011

I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.

View 2 Replies View Related

Ubuntu :: Copy .jpg To Desktop Folder In Terminal?

Jan 27, 2010

I have been sitting here practising linux commands and I cannot seem to copy a picture from home/pictures to the desktop, specifically a folder I created on the desktop "test"

View 4 Replies View Related

Ubuntu :: Create A Shared Folder Using Terminal?

Mar 19, 2010

I am using putty(Windows XP) to connect to one of my remote ubuntu machine. I want to create a shared folder on that machine. Please help how to create a shared folder using terminal.

View 3 Replies View Related

Ubuntu :: Terminal Deeply Nested Folder

Jun 4, 2011

i was wondering what's the fastest way to access a deeply nested folder.

is there a way to 'cd' to the most nested folder given that i know the folder name?

View 4 Replies View Related

Ubuntu :: Folder Name Auto Complete In Terminal?

Jul 27, 2011

In older versions of ubuntu I could use tab to autocomplete folder names multiple times in one command in a terminal, for example:

Code:
tar -cvf myapp.tar --exclude='/var/www/f[TAB]older-name/cache/*' --exclude='/var/www/f[TAB]older-name/sessions/*' /var/www/f[TAB]older-name

Now only the first tab works, is there any way to get this behavior back?

View 2 Replies View Related

Fedora :: Moving Cursur Its Moving But When Clcking On Touch Pad To Open Anything Its Not Opening?

Sep 13, 2009

I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.

View 2 Replies View Related

General :: Start Terminal In Specific Folder In Ubuntu 10.10?

Apr 16, 2011

I keep all of my web design work under /var/www/(application_name). Nine times out ten, when I open a terminal, I'm heading to the www folder - cd /var/www. I would love to make that my "home" folder for the terminal, so it would just open there - I know if I ctrl+shift+t to open a new tab it defaults to the same dir, but it would be nice to have the first opened terminal default to there. Is this possible, or is there a better way to go about this?

View 2 Replies View Related

Ubuntu :: Terminal In 9.10 Cannot Access Download Folder When Installing

Feb 17, 2010

Tried to install Compiz settings manager today.

Fresh install of Ubuntu 9.10 with all the new upgrades.

When i type in: sudo apt-get install compiz-settings-manager, I get this response.

E: Fr ikke lst /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Klarer ikke lse nedlastingsmappa
E: Can not lock /car/cache/apt/archives/lock - open (11: Re.........)
E: Can not access download file

Then it returns to the basic command line, thing.

View 2 Replies View Related

Ubuntu :: Cannot Access Subfolders In Home Folder With The Terminal?

May 10, 2010

Ubuntu and am using the 64bit version of Ubuntu 10.04.Now I can access the folders in my home folder through the places GUI, but I can't access them in the terminal. When I begin typing in the terminal and press tab it does not autocomplete, and typing the directory manually says that there is no such file or directory, even though when I type dir or ls they are clearly there.

View 7 Replies View Related

Ubuntu :: Open A Folder Owned By Root In Terminal?

Nov 27, 2010

I have a folder owned by root, I can open it by changing the permissions but then I have to change them back when I'm done, I was wondering if there was a way to use the terminal to open the folder as root without changing the permission on the folder permanently? I am admin and have the sudo password if necessary.

View 7 Replies View Related

Ubuntu :: Can't Change Directory Folder To Desktop In Terminal

Feb 5, 2011

I run Ubuntu 10.10. and I have one annoying problem. When I want to set my Desktop directory in terminal by typing this: "cd ~/Desktop" I get an error: "bash: cd: /home/izvanzemaljac/Desktop: No such file or directory".

I really dont know what to do, I checked Google for this error and I didnt find a solution.

View 6 Replies View Related







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