Thanks for all your replies!
Googled more and from ubuntuforums.org and askubuntu.com got some clues there about file associations which is located in $HOME/.local/share. Then I tried to change some of the files related to .fasta and remove those entries related to wine that has been uninstalled.
This may not be the accurate solution, but solved the annoying problem.
I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified, not the creation date. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to Samba.
... (2 Replies)
Hi,
I'm trying to assign the permissions, owner and group of a file to seperate variables, but using
ls -l filename | awk '{print $1 "\t" $3 "\t" $4}'
gives the owner as tom.ja instead of tom.james
Is there any way to expand it so i get the full name, or is there an easier way to get them... (5 Replies)
hi,
I want to know the date the file was created or modified. I can do this using ls, ll -ltr etc...
I want to do this in a function (so If the file date is older then a week I can report it), is there a way?
another thing...
In sql function, I can catch exceptions, is there a way to do this... (1 Reply)
Hello Folks,
I want to generate the file attributes of the system and needs to write into the text file.
I am running the command "ls -Rl" to get the details of the files from the current directory.
I am getting the output.
./linux-2.6.29.4/arch:
total 10
drwxr-xr-x 9 1138 5000 ... (3 Replies)
Hi,
Is there a way to use cp in such a way that when a file is copied to a destination, the required destination folders are automatically created with the proper permissions, and the resulting copied file has the same attributes as the original. For example if I copied... (1 Reply)
Hi,
I am new to shell scripting.
I have a file which has multi valued attributes. I wanted to split it so that there will be no muliti valued attributes.
Example file:
"attr1","amv1;amv2;3","bmv1;bmv2","abc","abc1;abc2;abc3"
Plz note this is CSV file and ; is the delimiter for multi valued... (7 Replies)
I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as:
d???????????? ? ? ? ? ? Pi-Share
PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)