How to open hidden file and converted into .dat format?
Here i am having ".tmideg0"hidden file .
I have made programm but it doesnot work ---------- Post updated at 02:43 PM ---------- Previous update was at 11:09 AM ----------
here i am having code
in which it convert all ".txt" file to ".txt.dat" file but i want ".dat file" how to do it.
Moderator's Comments:
edit by bakunin: since Don Cragun has edited in the missing CODE-tags for you, you have appended your original post, AGAIN NOT USING CODE-TAGS! How often, do you think. we need to ask you to use them until this bears fruit?
Last edited by bakunin; 10-24-2016 at 08:21 AM..
Reason: Add CODE tags.
Here i am having ".tmideg0"hidden file .
I have made programm but it doesnot work
First off, "doesn't work" is not an error description becoming to a professional programmer. How did it "not work"? Core dump? File not found? Syntax error? Interpreter having a bad day? Other?
You might as well start with developing good habits and this includes: analysis of an error includes to describe everything related to it: the error messages, other diagnostic messages, description of what happened, etc., etc..
In your case most probably this:
is the culprit: file(name)s starting with a "." are not expanded by usual file globs. Try:
to include files starting with a "." and ending in "tmideg0", i.e. ".tmideg0", ".bla-footmideg0", etc. into your glob.
Hello.
I use this command :
rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command.
And no full source directories are in use, only some files.
Source example... (2 Replies)
I created python code that produce output in the form of:
moses-red-sea=1.00.03
genesis-snake=2.03
deliverance=5.0.010
I need to take this output and create a "C" header file and have it look like this:
struct {
char *name;
char *fixed_version;
} filename_versions... (7 Replies)
Hi,
I need help to convert the date format in .DAT file in unix.
I want to convert
10@@|SWIFT MT568 Extract@@|Apr 14 2014 5:47:52:563PM@@|Apr 14 2014 4:33:47:663PM@@||##|
into
10@@|SWIFT MT568 Extract@@|04/14/2014/ 5:47:52:563PM@@|04/14/2014 4:33:47:663PM@@||##|
Appreciate... (18 Replies)
Hi,
Am having a file. I checked that file format by the following command
file filename
Output is
filename: data
So the file is data format file
Am trying to view that file so i have used some commands like cat,more so on but it showing the contents like compressed form(full of Symbols). How... (4 Replies)
I want to list all directories hidden or not hidden.
ls -ld */ => shows only not hidden directories
so i guess the answer would be to add the a option to show all files
ls -lad */ => not working :confused:
ls -la | grep "^d" => works
But I would like to know why I can't use ls -lad... (4 Replies)
:confused: Hai guys!!!!
I am using Mandrake Linux 10.1 with Intel P4 system..
I don't know how to open .DAT video file in LINUX.
Please help me! (1 Reply)