Programming :: What Date Format DOES Work With "touch -d"?

Aug 2, 2010

I'm hardly keen on using (strictly, only or just) -t, --date=, -m -t, -c -m or -a -t, for all of which I'm clued in to their respective working date syntaxes, but if I must, I will. Frankly -d still boggles. I'd like to think there IS a correct format or formats, else why would they carry it forward in a coreutil command from (whenever it was first written) to the latest updates for the several distros?

Or is it so obvious I can't see the forest for the smell of the trees?

View 2 Replies


ADVERTISEMENT

General :: Use Date With Touch To Create New File With Date Based Name?

Mar 12, 2010

I am using CRON to create a new, blank file, every minute, in a specific location on my web server. After web searching, and reading man pages, I get the impression that the following command is supposed to work:touch /home/mydomain/var/folder/attachments/`date +%H%M`.txtThis should give me a new file with a file name that is the current hour and minute.However, when executed, the CRON mailer reports:touch /home/mydomain/var/folder/attachments/`date +/bin/sh: -c: line 0: unexpected EOF while looking for matching /bin/sh: -c: line 1: syntax error: unexpected end of fileSo, it looks like shell is seeing the plus (+) sign as an EOFObviously, nothing get created.What would be the easiest, single line command to create an empty file, at a given location, with a time based file name

View 5 Replies View Related

Programming :: Converting Date Format In A Comma Separated Field?

Apr 9, 2010

I am in the process of learning some scripting, however I am running into a roadblock in specifying a certain time format in the array. Ideally I would like to use Here are the lines of text that I am interrogating:

1123,3/25/2010,00:14 Thu,33229
1124,3/26/2010,13:30 Fri,33230
1125,3/27/2010,04:49 Sat,33231

[code]...

View 2 Replies View Related

Fedora :: Date Format In Dolphin

Aug 18, 2011

I have Fedora 15, with gnome and KDE core because I want to use Dolphin. The language of the OS is English so it shows dates in mm/dd/yyyy format. How can I get it to show dd/mm/yyyy or another format?

View 9 Replies View Related

Ubuntu :: Changing The Date Format?

Oct 12, 2010

Is it possible to change the date format in Ubuntu 10.04 from the American mm/dd/yyyy to the British format of dd/mm/yyyy? I have looked at the Time/Date settings but cannot see any way of changing the date format

View 4 Replies View Related

Debian :: How To Change DATE / TIME Format

Jul 23, 2011

I set my location, but Debian displays DATE in some messed format. I would expect such neat OS to recognize all those local settings based on my location, but that's not the case. It seems that Debian follows locale settings by set language (which is en_us in my case, as I guess in majority uses) or this format is default in any case

I would like to set date/time to DD.MM.YY. hh:mm:ss, and programs that display date data to follow this setting. Simply put, in Windows there is Control Panel and you set location, then OS uses some regional settings, like currency, separators, date/time format.

View 7 Replies View Related

Fedora :: Can't Change Date / Time Format In F15

Jul 10, 2011

In the past, I just edited the /usr/share/gnome-shell/js/ui/dateMenu.js file to alter the date and time format. Today when I tried that, it crashed GNOME Shell and wouldn't let it start..

View 4 Replies View Related

Fedora :: How To Customize Date / Time Format

Aug 7, 2011

For some reason, thunderbird uses some random order for the date elements, e.g. MM/DD/YY. I need to change it to YYYY/MM/DD but haven't found where! There is no option in TB to configure this so I guess it just picks some default from regional settings? Where do I need to go to set the date format to its logical form?

View 3 Replies View Related

OpenSUSE :: Change Date Format In Thunderbird?

Sep 3, 2010

I am using kde 4.4.4 and thunderbird. I would like to change how thunderbird shows the date. Now it is shown as 12.31.1980 and I would like to use 31.12.1980.

I am not sure if this is a thunderbird option (didnt find any) or a gtk option and how to configure that using kde.

View 9 Replies View Related

Ubuntu :: Clock Applet Date Format?

Apr 28, 2010

I could find nothing on it. I want to change the date format for the clock in the upper right corner of the screen so that instead of reading [Wed 28 Apr, 11:51 AM] I will say [Wed 11:51 AM].

View 6 Replies View Related

Ubuntu :: Date Format Does Not Follow Locale / Fix It?

Jun 12, 2010

The date displayed in my panel is in the American format: Sat Jun 12, but my locale is set to Australian for everything. I have tried switching to different regions (System->Administration->Language Support), but this appears to have no effect on the date format.

Is this a bug? Anyone know how to fix it? code...

View 8 Replies View Related

Software :: Possible To Changestamp's Date / Time Format

Jul 12, 2011

In KWrite, you can make a datestamp and timestamp by pressing F7 for a command line and typing "date" therein. I just wondered: is it possible to change the stamp's date/time format, which is mm/dd/yy 24-hour time format? That's fine, but I wish the stamp could include the day of the week. (I use KWrite to keep a text-only personal journal. Any suggestions that I use a different program are welcome but are beside the point.)

I looked through the editor settings options, but found nothing relevant. The settings don't mention the F7 command line and the datestamp/timestamp at all; the only reason I know is because I once asked if there was a way to make one, as in Windows Notepad.

View 2 Replies View Related

Software :: Read Date In Format Of 12/04/2010?

Oct 21, 2010

i want to know that how we can read date in format of 12/04/2010

in bash shell script

i mean , i want to read date form key board

i want that the user give input in the form of 12/04/2010 and then system varify that the entered date formate is correct or not. if it is valid , system will print echo " valid date" otherwise system will print echo "invalid date format"

View 2 Replies View Related

Debian Multimedia :: Change Date Format Across Whole System?

Jan 13, 2015

I'm having an US American date format that drives me totally nuts, like MM/DD/YY. Today is 1/13/15. It seems to appear across the system (GNOME 3), from Skype to IceDove to Nautilus. So my hope is there is a central instance where I can change this. I would prefer to have 13-Jan-15 or 13-Jan-2015 or at the very least 13/01/2015, i.e. in some order consistent with my European brain.

View 7 Replies View Related

Ubuntu :: Change The Date Format So That It's- Month-Day-Year?

May 13, 2010

I use an email program that shows the date as, 10-4-26.....which means the year 2010 (10) April (4) 26th day.

How do I change the date format so that it's- Month-Day-Year?

I want this changed system wide so all dates are shown in the format I want.

View 2 Replies View Related

Ubuntu :: Date Format Wrong For Sydney Australi?

Apr 30, 2011

Just updated to natty last night, still coming to grips with Unity, but the date format for Sydney Australia shows as Year-Month-Day instead of Day-Month-Year, tried changing it manually, but it just changes it's self back to what it was. Still coming to grips with the launcher, but do not like the black back ground used in the dash, would like to be able to change it. Would also like to make the icons in the launcher smaller than 32.

View 3 Replies View Related

Software :: Change Date Format In Mysql Table?

Jun 26, 2011

I want to insert a acess log file to mysql table.

my log file look like this;

08/Apr/2011 10:51:19 http://v4.netlogstatic.com/v6.00/385...t.messenger.js
08/Apr/2011 10:51:19 http://download.windowsupdate.com/ms...536945da07.exe
08/Apr/2011 10:51:19 http://www.google.lk/search?
08/Apr/2011 10:51:19 http://clients1.google.lk/generate_204

[Code].....

i want to insert this in to a table which having datetime (as it is in log file) and the site visited.

I created a mysql table using DATE using the date type and the TIME suing time type.but once i loaded this log to table date field shows empty. like following.

| 0000-00-00 | 04:18:29 | http://www.espncricinfo.com/navigati...scorecard.css?

how can I solve this problem.your responses are highly. My table should look like the following

| 08/Apr/2011 | 10:51:19 | http://www.radioeksen.com/song.txt

View 1 Replies View Related

Software :: Change Date Format For Birthdays In Evolution?

Mar 27, 2010

After installing Evolution, the date format for entering birthdays was MDY. I edited the preferences and see under contacts it was set to "Use locale default" (which it identifies correctly, but should therefore have been using DMY).

I changed the format to a preset item in the drop-down selection to force it to %d.%m.%y %H:%M:%S which didn't change the birthday field behaviour. Have done the same in Calendar and Tasks, still no change.

if/where you can change the date format for the Birthday field in contacts in Evolution?

View 1 Replies View Related

Software :: Getting Date Command To Output In Format 08-Dec-2010?

Dec 8, 2010

How can format the date command to output the following format 08-Dec-2010.

View 3 Replies View Related

General :: Load The Local .csv File Into Mysql Server The Date Format Varies?

May 25, 2010

When i load the local .csv file into mysql server the date format varies.Its mis matching.How to solve and match this.

View 1 Replies View Related

Programming :: Keep Original Mod Date Of A File And 'date' It Back To Same File?

Jul 12, 2010

I would really like to preserve a file's original modified date and pass it back to the file as the same attribute after a script has worked on it. I get a lot of JPEG files from different places on the Net which I either turn around and upload or burn to disk, and having the "original" date of either download or last mod in a graphics app would be for me, in the long run, a lot more helpful when deciding, for instance, which files to "recycle" or pass on backing up more than once.I've tried doing this on my own every now and then. Where I run into problems is that it appears "stat" and "date" use different formats for date information, and I can't seem to puzzle out how to "translate" one to the other satisfactorily for the latter command.

Just to give an example:
stat foo.jpg |grep Modify gives me
Modify: 2010-07-12 06:28:56.890625000 -0400

Passing that string as-is to date foo.jpg, I get the errordate: unknown option -- 0 and the usual semi-courteous suggestion to Try 'date --help' for more information.Somehow my TexInfo database got screwed up somewhere along the line and info dategives me the short article on date input formats, not the full documentation for the command

View 4 Replies View Related

Ubuntu :: Touch Pad Won't Work After I Log In?

Apr 11, 2011

I just put a fresh install of Ubuntu 10.10 on my HP Pavilion dv9000, and everything seems to be running well except for my touchpad! When I boot up into Ubuntu, the mouse works at the log in screen, but the second I sign in, it stops.

A USB powered mouse works, but not the touchpad. I even booted up from a live USB to make sure that it's not a hardware problem, and it worked there. Is there any way I can fix this easily? I don't want to have to do a fresh install, because I put all of my files back on it again as well as installed a bunch of applications and programs.

View 5 Replies View Related

Ubuntu :: Mouse Touch Pad Does Not Work?

Jul 31, 2011

my mouse touch pad dose not work it wont let me click anything if i touch it is there any way to solve this problem?

View 1 Replies View Related

General :: Why Can't Get Usb Touch Screen On A EEE PC 900 To Work

Mar 1, 2010

I have checked and as of right now can not find any topic on my problem. I purchased and installed a usb touch screen for my EEE PC 900 4GB hard drive. My problem is that my computer will not recognize the screen. When I go into the Systems Test, The USB touch is recognized, but that is it. Do I have to download drivers? (Even for a usb?) I went into the bios, and enabled the web-cam, which I have used for power. (I think) If any one can offer me some advice, I will be forever grateful. I would love to have this up and running for my husbands birthday, which is in 2 weeks. Could the problem be with the size of the hard drive? I am 98% sure I have it installed correctly. I have followed the instructions that were supplied.

View 5 Replies View Related

OpenSUSE Multimedia :: Get Ipod 3g Touch To Work In 11.4?

Aug 13, 2011

i have a 3g ipod touch and i need to know how to get it to work in opensuse 11.4 running kde desktop.

View 2 Replies View Related

Ubuntu :: Does New 64Gb IPod Touch Work With On 10.04

Apr 14, 2010

I just acquired a shiny new 64Gb iPod Touch and for the life of me I can't get it working in either Amarok or Banshee at all and it doesn't automatically mount as it is supposed to on 10.04 Beta 1 or 2

lsusb shows it's there and after following this thread I could get it mounted and see the directory structure.

[URL]

But it doesn't show up in Banshee or Amarok at all.

Is it just because it's new and might have a quirk? Or could it be something simple I have missed? I'm not a total noob but still learning

View 1 Replies View Related

Ubuntu :: Touch Pad Doesn't Work Right Away After Typing

Jul 23, 2011

I just recently switched to Ubuntu on my Acer Aspire 5630, and I'm having trouble with my touch pad. After typing, the cursor is unresponsive for a second or two. I tried looking elsewhere for solutions but getting no real headway.

View 1 Replies View Related

General :: IPod Touch 2G Does Not Work On Mint 10?

Apr 21, 2011

I have currently installed Linux Mint 10 Gnome 32-bit edition and I have a iPod Touch 2nd gen with 32GB.I was able to see the music(mp3 files) in my iPod touch in linux mint 8 and 9. But currently I have the following issues:When I connect my iPod Touch with the system I got two popup asking me You have just inserted digital audio player.ose what applications to launch"ou have just inserted a medium with digital photos. Choose what applications to launch"I know that these are popups are normal. I currently dnot have any photos or videos in my iPod Touch(will try to add them in the future) so I used Rhythmbox to open the music present in my iPod touch. I'm able to find my iPod under "Devices" in Rhythmbox. But when I click it, Rhythmbox shows that there are no music present in my iPod Touch by showing "0 artist" and "0 Albums".

However I know for sure that there are definitely songs in my iPod since I'm able to browse and play songs directly from my iPod. Is there any way to resolve this? I have also tried opening it in banshee but with the same result.I tried to drag and drop songs present in my library of rhythmbox to my iPod and this does not do any thing. Previously in LM 8 or 9, when I do drag and drop I will be able to see my new songs in my iPod.

View 2 Replies View Related

General :: Setting Time And Date / Setting Calendar Format?

May 14, 2010

Have installed Suse 11.2. how can I change the calendar format dd/mm/yyyy and how to configure the system to sync.from an ntp?

View 1 Replies View Related

Fedora :: Edora 12 Doesn't Work With The Notebook's Touch Pad?

Jan 26, 2010

Is this a known bug in Fedora 12.

Software:
* Fedora 12
* Linux Live USB Creator version 2.2 and 2.3.

[code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved