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.
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."
Yesterday after downloading a file I tried to find it on the desktop where downloaded files are saved. It does not appear in nautilus but when I look for it from command line it appears to be there. I simply do 'ls' for this and that means its not hidden.Googled it for an hour to find a suitable answer but most of the posts focus on removing the in front of file name which is not the case here.
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?
I set security context for a folder as 702 to enable other users to create and delete folder contents.But whenever other users try to create a folder,its says "Permission denied".
So I had this folder containing two open office text documents, I hibernated my computer a few times while I was working on one, then when I came back I couldn't save it because apparently it was open by someone else so I exited out and tried to open it again, but the folder it was stored in turned into a picture of a white safe with a play icon on the top right corner, and when I open it, it is just the picture.
So I had this folder containing two open office text documents, I hibernated my computer a few times while I was working on one, then when I came back I couldn't save it because apparently it was open by someone else so I exited out and tried to open it again, but the folder it was stored in turned into a picture of a white safe with a play icon on the top right corner, and when I open it, it is just the picture. Does anyone know what happened here?
I want to move a folder from USB drive to desktop, any directory, let say usr directory. But don't know what the name for usb drive and where to find it, i know i am going to use mv command.
I tried compiling linux kernel 2.6.37-rc2 (mainline), Compilation and installation of kernel and modules went fine. After that while trying to make initrd image, I used the following command :-
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/RV610_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/RV610_pfp.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/R600_me.bin for module radeon W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/R600_pfp.bin for module radeon
Actually, "2.6.37-rc2" folder is missing in "firmware".
recently I downloaded warzone 2100. It was downloaded in tar.gz format. I searched for the way to install it and I am not able to install it. I unzipped the folder and then changed my directory to the unzipped folder. After that I used ./configure. After doing this, when I write make, it gives error and says no make file found. What can I do to solve this problem.
When K3B is creating an .iso image to file and fails to read a sector even at the very end of a DVD it issues you a warning and removes the file from the destination folder, regardless of what choice you made in the "remove file when completed" dialog.
I want it to leave the incomplete .iso image there so I can play with it, any suggestions cause I've searched scratched and dissected, trying to do my homework but doggone if I can figure it out,
I am implementing a strategy to organize my data among the several machines I work with and thought that getting some ISO images out of it could be a good idea because that way data would be 'read only' thus allowing for easier synchronization.
At first I thought of using the "dd" command to create the ISO out of a directory, but it fails code... So, I have two questions:
Is the ISO 'format' capable of storing complex directory structures with long filenames (pretty much as any Linux filesystem does), or are there some inherent limitations?
Supposing the ISO format is not constrained, which command would allow me to create an ISO file out of a directory?
I am trying to sort image files I've assembled for document production, and I need to be able to see the height and width of the images without having to open them one by one. Is there a way to view an image's physical size in the folder window?
In light of my previous achievement in wireless networking, I've decided to create a larger issue for myself to solve. Which hopefully I can get some help with. Because my system is totally kisspoped up, for those of you who get what that means. I was trying to install GRUB via the .txz package and it created a mirrored image of the /boot folder. Which for some reason contained the / folder. Which in turn held /boot and all the other folders / is expected to contain.
Now, trying to remove the extra /boot folder proved difficult, but once I finally was able to figure it out, I remembered I could removepkg and that would probably mend the situation. However, I was already 20-something percent through moving the files to trash. Now when I checked /, /boot was gone from there. Along with various other folders. SO! Apparently the /tmp/boot folder created was in reality the /boot folder, albeit in the wrong place and having the wrong contents. Somehow, one folder existed as two different versions of itself at the same point in time. Much as a Time Lord might. Deleting one made the other vanish with it.
Good news:I removed it via Thunar and it should be in the root user's trash /home and some other folders had yet to be trashed when I hit cancel, so I can still use some things Bad news:I never ran X as root, so I don't know if it HAS a trash folder I can only use things already started up because the binaries are gone, but the configuration files in /home are still there (although /usr/bin remains)
Ideally, there would be a big UNDO button somewhere in this long row of function keys. Reasonably, there should be some kind of restoration tool. Realistically, I think I'm going to have to reinstall the system, which wasn't easy in the first place due to my faulty disc bay which detects discs at will.
Ladies and gentlemen, I announce my 1st Qt4 application - Baires. Baires is a program that helps you easily resize bunch of pictures from one directory and place it to the same or another, with just one click (after initial setup, of course). With help of @microchip8, who built spec, RPMs and placed them to his repositories, I have now made an "official" download page at my site.
problem during fedora x8664 installation. how to give the command for directory path and image located drive. the procedure to install fedora for the first time.
I have ubuntu 10.04.1 and a H.P.psc 1311 all-in-one printer scanner.Printer works ok but when trying to scan,with xsane,it goes through the scanning process and an image of the document comes up on the screen.
When I try to save this image to desktop or file/folder whatever I get the message; "Child Process Error. Failed to execute OCR command:GOCR:no such file or directory."
its look like ordinary question..i want to know how to lock a directory in such a way that it require password for unlocking(by entering to that directory)
.Trash folder in the /root directory. If I'm using gksudo nautilus, where can i access this cause It may have trash I can delete. (Trying to free up space , and I already used wacktomack's guide)
I want to ask a question that the "Desktop" directory located in the "Home Folder" contain the Desktop content.If I deleted this "Desktop" directory, the system will try to use "Home Folder" as the Desktop.When I create the "Desktop" back, system still use the "Home Folder" as the Desktop.So how can I let the system use the "Desktop" directory as the realy Desktop then?
I have Administrator rights. I want to create new folder into /opt directory. So i clicked(Right click). but new folder menu has disabled. I cannot create new folder. Then Alternatively I used terminal. then I type mkdir /opt/lampp/htdocs/dummy now folder name has created. but I cannot paste anything into my dummy folder. So I checked permission which has you are not owner. How to create new folder & copy contents to new folder.
I need to create a folder for every single file in a directory, possibly making the folder have the same name as the file that it will be containing. Is it possible to do via terminal?