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
View 2 Replies
ADVERTISEMENT
Sep 14, 2010
I've found these commands in [URL]:
Quote:
find -type f -print0 | sudo xargs -0 md5sum | grep -v isolinux/boot.cat | sudo tee md5sum.txt
But I don't understand these commands, even after reading their manuals.
View 4 Replies
View Related
Jan 14, 2011
my ubuntu machine disk is already full, i want to set the save location of of bittorrent to a network share in windows is this possible?
View 3 Replies
View Related
Jul 10, 2011
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
View 1 Replies
View Related
Nov 29, 2010
File is named similar to : logout 10.10.10 100817.txt
I need to copy this to a new directory.
To fine the latest file I was advised to use code...
View 3 Replies
View Related
Jul 19, 2011
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.
View 7 Replies
View Related
Mar 22, 2011
Now i install the Ubuntu 10.4 64 bit on Sunfire X4170I want to save the file via SSH to this server.But i m not sure how to configure.
View 4 Replies
View Related
Jun 1, 2010
Can I use sed to include a text file in the beginning of other text files inside a folder and its subfolders? So it should be recursive.
View 4 Replies
View Related
Dec 1, 2010
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?
View 4 Replies
View Related
May 4, 2010
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.?
View 2 Replies
View Related
Apr 26, 2010
Fedora12/Kde4After a Sane Scan how do I Save a scan as a *.txt file ? gocr does not work, I can save in any other format but a txt file.
View 6 Replies
View Related
Feb 3, 2010
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
View 9 Replies
View Related
Apr 19, 2011
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.
View 4 Replies
View Related
Jan 25, 2010
I wanna learn how to store data in text file and be able to modify it and save as well using C++.
Note: im using Turbo C++ 3.0
View 9 Replies
View Related
Nov 2, 2010
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
View 2 Replies
View Related
Sep 19, 2009
favor and let me know how can I copy some text in one file and paste it to another file ,when both of the files are being opened by vi text editor ?
View 7 Replies
View Related
Mar 10, 2011
I wish to append a text at the start of every line and save it to another file without changing the original file.know the command
For example:
Orignal.txt
a.txt
[code]...
View 5 Replies
View Related
Sep 17, 2010
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?
View 5 Replies
View Related
Nov 20, 2010
I need to copy a file from my desktop to a system folder but unsure how. It needs to go to the "etc/X11" folder
View 6 Replies
View Related
Jan 23, 2011
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."
View 3 Replies
View Related
Dec 2, 2010
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?
View 3 Replies
View Related
Mar 23, 2010
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
And here is what I am trying to accomplish;
Code:
mv /var/lib/mysql/RSecuredData.csv smb://corpserver/d$/Data/Common/Secured%20R%20Reports/$(date +%Y%m%d)_RSecuredData.csv
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
View 9 Replies
View Related
Feb 8, 2010
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.
View 3 Replies
View Related
Mar 22, 2009
I hv a text file in redhat linux platform and i need to copy this file to windows platform running on the same system. Is there any command for this.
View 1 Replies
View Related
Jul 19, 2009
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
[Code].....
View 5 Replies
View Related
Dec 16, 2010
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?
View 3 Replies
View Related
Jun 23, 2010
1. I need guide on how to create a folder name from the text file with .txt format.
2. First, I call the function of reading the directory.
3. Then, I dont know how to do.
4. Finally, I close the directory
This is my source code in perl
## read text.txt file ##
open F, "from/$directory/text.txt";
read F, $buf, 9999;
close F;[/size]
This source code is used to print the folder with date format like "ddmm" d stands for day and m stands for month
if ($command =~ s/-O "(.*)"/-O "$websites/$month/$file"/)
Instead, I want to have the name from text.txt to be folder name
View 4 Replies
View Related
Jul 29, 2011
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.
View 16 Replies
View Related
Jun 23, 2010
I want to copy a file into my Root folder but I cant.what should I do?
View 2 Replies
View Related
Nov 1, 2010
I saved a file with vim, but not really sure where it is. I didn't specify a save location, just :w filename.
View 3 Replies
View Related