Ubuntu :: Mount Folder To Different Folders

Apr 22, 2011

I just sat up an openSSH Server with Samba access and all, but don't think about that.here's my question, and as you read you may understand why I posted this instead of googling it, it's un-google-able.can I mount a regular folder like /media/disk1/random to 2 different places ? and if so here's the tricky part:

1: when I end up in that folder, I don't want the direction path to end up like this: /media/disk1/random IE: so I don't want a link to the other folder, I want the OS to think it's a regular folder (in lames terms)the reason is because I want my openSSH clients to move inside a small space, without jumping all over the place, and be able to use the (...) feature in the SFTP client.(don't think about the permissions their already set.)

2: I don't want it to be a synchronized folder, I want the data to be stored on /media/disk1/randomor else it kind of blows the whole file storage server idea straight out of the window.

View 9 Replies


ADVERTISEMENT

General :: In Ubuntu 9.04 - Mount The Different Folders On The Partition To Different Folders In Home?

May 12, 2010

I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu. How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.

View 2 Replies View Related

General :: List Folder Size And Number Of Files And Folders In Folder?

Nov 23, 2010

In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.

View 3 Replies View Related

General :: Copy Folder Hierarchy / Recreate All Folders From One Directory Without Copying Over Contents Of Folder?

Jul 2, 2010

Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,

Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.

$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.

View 1 Replies View Related

General :: Mount A Folder Names Sever Under Apps Folder?

Feb 4, 2010

In the linux machine we need to mount a folder names sever under apps folder with the user as steve. Also the steve user should have the permission to create the files in the folder. As of now, its mounted as root user.steve is in list of sudo users.

View 4 Replies View Related

Server :: Increasing Size Of /var Folder Or Mount To Another Folder?

Nov 16, 2010

I'm installing things in a new Red Hat server and saw that the /var folder is full (100%). I need this folder to have more space or another kind of solution because this server is going to be used as a print server.

View 7 Replies View Related

Ubuntu :: Create Folders Outside The Root Folder?

May 13, 2011

i'm workin on QEMU for ARM on ubuntu 11.4 and i needed to run this symbian-qemu-0.9.1-12-arm-none-symbianelf.sh script which is in this link [URL]

but i get this error ..
mkdir: cannot create directory `/scratch': Permission denied

is there any way to work around it and be able to create folders outside the root folder ??

View 9 Replies View Related

Ubuntu :: Deleting Folders From The Home Folder?

Jul 7, 2011

I accidentally created a folder in my /home directory and its ticking me off because i cant delete it and im anal about my organization on the computer and having this extra empty folder.

View 5 Replies View Related

Ubuntu :: Move All Files In All Folders Of A Folder Up One Level

Aug 20, 2010

I've got a folder called Foo. In foo, there are 20 folders called bar1, bar2, bar3,...,bar20. In each of those barXX folders there are 2 files. How can i move those 2 files up one level into Foo with one command?

View 9 Replies View Related

Ubuntu :: Move All The Files In All The Folders To One Central Folder?

Nov 20, 2010

I dual boot a computer from separate hard drives in Windows XP and Ubuntu 10.04. Here is the deal: On my windows drive I have a folder that is filled with folders inside folders packed full of files in all the folders. There is a 100% possibility that I have multiple copies of any file in multiple locations. Is there any nice command or program to move all the files in all the folders to one central folder and in any way get rid of the multiple copies? Also, how do I compare to files that may or may not have the same name, but otherwise be identical to see if they are identical?

View 9 Replies View Related

General :: CHOWN All Folders Within A Folder?

Feb 9, 2011

I would like to change the ownership of some all folders and files within them folders by making changes to parentfolder. But I mess it up.

The folder path is /home/myaccount/shared/target_folder.

Target folder holds several new folders with files inside. How can I easily change ownership to all folders and files within target_folder?

I tried this:
Code: sudo chown myusername /home/myusername/shared/target_folder But I get error:

Unnable to resolve. No such file or directory.

View 5 Replies View Related

Ubuntu :: In 9.04, Mount Different Folders Of The Same Partitions To Different?

May 19, 2010

I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu.How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.

View 1 Replies View Related

Ubuntu :: Mount A Drive In 2 Folders ?

Aug 8, 2010

I mounted a hard drive and its working ok. But I want to expand on it. I'd like to make it accessible via another folder, like make it look like /home/cackles/added as well as simply just /added. Is it just like when you mount the drive and add the line to fstab?

View 2 Replies View Related

Ubuntu :: PCManFM Does Not Mount Folders

Oct 6, 2010

I have installed PcManFM2 instead Dolphin on my kde4. It doesn't mount hard drives (No icons on sidebar) but can unmount if Dolphin mount it first. Xorg 1.8. I tried gamin and fam but useless.

View 1 Replies View Related

Ubuntu :: Single Folder With Symbolic Links To Multiple Folders?

Aug 4, 2010

i am using ps3mediaserver to expose my photos collection which is distributed across multiple sub-folders. unfortunately the ps3 can only show a slideshow for a single folder at a time, hence i was wondering if there was a quick way to create a single folder containing symbolic links to all my pictures.

View 2 Replies View Related

Ubuntu :: Copy All The Pictures From Various Folders In Documents To A Single Folder

Dec 8, 2010

I'm using Ubuntu 10.10. I want to copy all the pictures from various folders in my Documents to a single folder. So in Nautilus, I clicked on Places > Search for Files. Then chose the Documents folder and typed *.jpg in the search criteria. It found all of my pictures just fine. However it would not let me copy and paste them into a folder I put on my desktop. Copy is not on the "right" click menu and Ctrl C did not work for the highlighted search results. This is so simple in Windows but it does not seem to work in Ubuntu.

View 4 Replies View Related

Ubuntu :: Collapsing The Contents Of Sub Folders Into The Parent Folder Via Terminal?

Aug 4, 2011

I have a parent folder, with a lot of sub folders. basically, i'd like to bring all the contents from the sub folders into the parent folder, and subsequently delete the sub folders. is there one command for this? or do i need to cp -r over and over again, and then manually delete?

View 1 Replies View Related

General :: No App Folders Being Created In Home Folder / Why Is So?

Jun 14, 2010

No app folders being created in home folder. For example, when I do something like code...

View 3 Replies View Related

Ubuntu :: Mount & Limit Folders Size?

Oct 24, 2010

I have a 1TB external hard drive. I would like to create in it 10 folders:

Code:

I would then like to permanently mount each folder to its machine (I have 10 machines connected through a switch, so each machine will have a folder that is mounted to ONE of the 10 folders in the external hard drive).

My questions:
(1) Is this a good configuration? are there better ideas to give individual machines more space without replacing their hard drive?
(2) How do I limit each one of the folders ('folder1', 'folder2', ...., 'folder10') to a size of 100 [GB]? I don't want one folder (say, 'folder1') to grow in size and 'steal' the space designated to the other folders.

View 2 Replies View Related

Ubuntu Servers :: Samba And Share A Folder An Sub Folders For Windows Users

Feb 19, 2010

I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.

View 8 Replies View Related

Ubuntu :: View Folder Address In Text When Viewing Folders In Window

Aug 10, 2011

Currently, whenever we open a folder like "media/DATA/Work/Projects/Linux" at the top of the window it views each folder/subfolder as a button like [media] [DATA] [Work] [Projects] [Linux]. So if you click a folder named "Ubuntu" within the "Linux" folder another button [Ubuntu] will be added.I like this feature, but often i find myself needing to copy and paste that address somewhere and all I can do really is type it out manually. Is there a way to also display the address location in text like "media/DATA/Work/Projects/Linux"??

View 2 Replies View Related

General :: Why Are No Application Folders Being Created In Home Folder

Jun 15, 2010

For example, when I do something like...

sudo apt-get install vim

No .vim folder is created in the home folder.

View 1 Replies View Related

General :: Directory - Find Folder Inside Sub Folders

Jan 21, 2011

I am trying to find a directory named 480debugerror nested under child directories. I don't know the exact path, or even if I have the exact spelling of the directory I ant to find.

Is there any linux command to find directories with a given prefix or suffix, for example directories with a name of debug or debugerror, with unknown some prefix or suffix?

View 3 Replies View Related

Ubuntu :: Renaming Multipal Folders \ Want To Give Some Prefix No. To Folder Only Not The Files Inside?

Jun 8, 2011

I have around 150+ folders in one directory. All contains some pdf files. Now i want to give some prefix no. to folder only not the files inside. How can i give the prefix to all my folders?Eg : Suppose i want no. 8562 then i want it like as follows

OLD FOLDER NEW FOLDER
ABC/ 8562-ABC/
AABC/ 8562-AABC/

View 2 Replies View Related

Fedora Hardware :: Linking User Folders To Ntfs Folder

Mar 28, 2010

Not sure if this i the right forum, please let me know if I need to post elsewhere. First, here are my system specs:

HP DV 2808
250 gig SATA drive
4 gig DDR
Nvidia 7150 mobile
Windows 7
Fedora 12

I have my HP DV2000 laptop configured to dual boot Win 7 and Fedora. What I would like to do is mount the Windows folders, (Documents, Music, etc.) automatically in my Fedora home folders. I have done/tried the following:

1: identified my partitions:

[Code]...

View 1 Replies View Related

General :: Script To Backup Up Shared Folder Home Folders

May 11, 2009

I am using rhel5 running as samba PDC.Most of the user save their data on a common folder on the server.Now I want to backup this data to some other location to have redundancy.It could be external USB HDD or other folder on the same server.How to create backup script and automate it using cron.

View 1 Replies View Related

General :: Compress .gz Folder With All Contents Inside Sub-folders / Images?

Oct 5, 2010

How can i compress to .gz my folder public_html:

media/sda7/user1/public_html/

I want all files and folders and subfolders and images and everything inside of public_html. Also to be saved on the same folder so i can find it easy How can i do it?

View 4 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 :: Test Permissions On All Files / Folders Into A Folder Recursive?

May 16, 2010

Way to test permissions on all files/folders into a folder recursive, then if those are not user:user then do :

Code:
chown user:user thatconcernedfile

The problem with that

Code:
chown user:user -R /folder

is that it is doing changes on file permissions whihch are already ok. If you wanna maintain a specific permission on a folder this is really not good this :

Code:
while [ 1 ] ; do
chown user:user -R /folder
# /folder contains 6.0 Tb
sleep 2s
done

View 1 Replies View Related

Ubuntu Servers :: Windows Users Can't Mount Share Folders?

Mar 25, 2010

When I connect with my ubuntu 9.10 x86_64 freenx server from Linux/Mac share folders from client side will properly mounted and I can use with no problems.

When I connect to the same server from windows box, I get this error message:

Quote:

Info: Share: '//COMPUTER/FOLDER' failed to mount: mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Last two days I was googleing a lot about this but all I tryed didn't work.

Is there somebody share folder works from windows connection?

View 2 Replies View Related







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