Hi,
I have a directory with a bunch of files say around 150K.
I want the directory's path and the filenames printed to a text file.
Example:
If I am in the directory /path/test and the files in this directory are
Quote:
1.txt
2.txt
3.txt
My output file should be like this
Quote:
/path/test/1.txt
/path/test/
I am organizing my music library on a NAS server. I want to print a list of all the directories that are missing the cover art (at least one or more jpeg file). I have successfully created a file with each line containing the path to each occurance of one or more .mp3 files.
After making a bash file that creates directories and then transfers files from one directory to each created directories I am curious as to how I'd go about doing this in a batch file.
Hi all,
Today I noticed an a.out executable file in my user home directory. I checked it with ghex and has bash strings.
when i type this, i get error-no file or directory
rpm -qpi zsh-4.3.15-2.fc17.x86_64.rpm
this file is in my home folder....my user name is ronss....what would be the correct path to the home folder, so i can do some things with this file....and not get the no file or directory error..
Hi.
I'm trying to get the names of files from a log file, without the path and special characters.
I have a file that contains lines like this:
Code:
'/path/to/files/file00010000070874.EXT'
'/path/to/files/file00010000070875.EXT'
'/path/to/files/file00010000070876.EXT'
'/path/to/files/file00010000070877.EXT'
'/path/to/files/file00010000070878.EXT'
'/path/to/files/file00010000070879.EXT'
'/p
I am new to Ubuntu (coming from Windows 7) and I am trying to add a directory to my system path and for some reason I can't get it to work.
Hi,
I have a directory named (/output). this directory has files in the below format
Code:
abc.* ,
xyz*,
djj*,
iwe*,
weewe*,
rier*,
3948903ddfgf*
these files are generated at random. what i need to do is. delete all the files of all kinds but keep only the last generated file of eachtime.
the final result will have only 1 type of file for each of the files present in the folder.
Hi
Need help for the following scenario.
I am having two directories /tmp/a and /tmp/b.