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
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
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.
When i want copy a file or folder in some system folder like sbin,Etc.show me error about privilage but when I'm in console i use su command for become admin and i can copy my file or folder.in other operation system like windows user can copy anything,i want know for direct copy my folder in linux without console what should i do? i must join my user name in root group?
I am no programming expert, but there must be a file that the Notes screenlet is storing all my notes on ( im not talkign about tomboy). If I can just find this file and then Share the file, i will be able to sync my notes between my computers. Correct? So anyone know where this text file is so that I can sync it.?
I recently installed Jaunty in my departmental machine which is having 70 GB harddisk and 512 MB RAM. Before installing I partitioned the Hard disk by using Gparted of Live CD into Four compartments namely
1. Primary partition of 30 GB of file type ext3 2. Extended partition of 39 GB which I divided again into two logical Partition of 20 GB and 19 GB. Labelled it as D and E 3. 1 GB of swap partition
I installed the Jaunty in primary partition, gave the mount point as /The problem is I am not able to copy or save file in the extended partition namely D and E
I have a .txt-file with ~50.000 lines of numbers, generated by a mathematics program. From this file, I need line ~ 1.100 to line ~16.000 (these lines are always the same btw, this may make the solution easier, dunno) to be copy/pasted to another file, where the lines ~500 to ~15.000 (also, every time the same) should be overwritten by the aforementioned lines...I haven't found or come up with anything that works yet, mostly I find solutions to copy everything from one file to another but I can't find something to specifically overwrite a part of a file with part of another.
I am trying to store the results of my code to a separate text file.But the problem is, as my results comes from a loop, my text file shows only the last result, not all of them.Like if the loop runs 5 time the text file shows the result for the 5th step.But i need to store all of them (1 to 5).Can I use awk to print the output field and store to another file and creat a new line so that the next output field goes to a new line?(just an idea, dont know).
#!/bin/basth for (( i=1; i<=5; i++)) do ./file.exe > output.txt done
I have an ebook that has copy protection on; only 25 pages can be copied every 14 days. This is very annoying, as I need to copy more pages for my study group.
how I can enable full text copy of a locked pdf file?
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."
First I hope to undrestand my English word because Iam Arabic girl and not so good in English...
my problem is:
I wrote code in .c file and I run that code on the prompt command, its ture but I want after the out put copy the code on the command by some statment in the code , how can I do that?
I am able to view my windows network from my UBUNTU desktop after being prompted for a username and password to the windows network. No problem. But how can I accomplish this from the command prompt?
Here is my windows directory; smb://corpserver/d$/Data
Basically taking a csv file and moving it from mysql directory on my Ubuntu machine to a network folder on my windows server. (Windows Server 2003)
When I try that command from the command prompt I recieve;
Code: mv: cannot move `/var/lib/mysql/RepoSecuredData.csv' to `smb://corpserver/d$/Data/Common/Secured%20Repo%20Reports/20100323_RepoSecuredData.csv': No such file or directory
How to list the contents of a folder to a text file. I'm trying to list all my music, including all subfolders, etc. to a text file, but I can't remember the command.
I am doing my web radio project. i hav the exact code for the application. It needs sland and newt libraries to be installed. I installed them succesffuly. but when i compile the code it is showing number of errors. actually i hav to copy the libnewt.so file into /usr/lib folder. when i copy tat file it is displaying error as permission denied.
how to copy that file in to that folder. and tell me the stteps to install newt on fdora core 9.
the errors displayed when i compile the code are
[root@localhost newt-0.52.4]# cc -Wall -I/usr/include/slang -D_GNU_SOURCE -g -c -o setup.o setup.c setup.c:4:18: error: newt.h: No such file or directory In file included from setup.c:10: newt_pr.h:20: warning: enum newtFlagsSense declared inside parameter list newt_pr.h:20: warning: its scope is only this definition or declaration, which is probably not what you want
I have files and folders various permissions.I copied the files and folders to X server.But I forgot to copy of the permissions.Like is hereHow can restore the permissions?
I need this script but I don't know how to do it I have one folder with several folders inside.On each folder a have one MKV or AVI file inside...What I need is a script to change the "modification date" of each folder to the "modification date" of each MKV or AVI that the folder has inside.