Software :: App To Quickly And Easily Change File Dates?
Aug 14, 2010
I am using Ubuntu 10.04. I wish I could use Nautilus to change file dates, but I guess that does not work.
Is there another file manager, or something, that allows me to do this? I know about the touch command, but that's a little cumbersome for I am trying to do.
View 2 Replies
ADVERTISEMENT
Mar 16, 2010
I want to be able to connect these machines to the domain and use active directory on them.
View 2 Replies
View Related
Jan 11, 2010
I need to get the modified date on a file in linux to use in a script.I tried using 'ls -l' on the file, but this caused problems when the date turned from a single digit into a double. The reason for the problem was because I was parsing the result string on spaces.How can I get the date of the last time a file was modified so I can use it in a script? For example, if a file was modified on 1/11/2010, I need the 11.
View 2 Replies
View Related
Dec 21, 2015
I want to make a simple script so that the user can easy change the runlevels.
The script should prompt the user to choose the new runlevel, run the /sbin/init program and receive a confirmation message.
View 5 Replies
View Related
Feb 3, 2010
I've seen many, many different solutions for how to change the GRUB boot order. Search no more. This is by far the easiest, safest way to do that.
Open your terminal and type in the following:
sudo apt-get install startupmanager
When that is done go to your control panel and you'll have a new icon that says Startup Manager. Every thing you'll need work with your GRUB menu.
View 1 Replies
View Related
May 9, 2010
Can Linux emulate a USB disk? Why would you want to do this you ask? Say you have a digital picture frame that uses a USB thumb drive you could connect your computer to it and quickly change what was on the screen. I realize you need some special hardware for this as both the PC and the frame would want to be USB masters. But there are USB transfer cables you can buy on-line that do USB master to master connections.
View 4 Replies
View Related
Apr 8, 2010
I am working on the script parsing specific message "TEST" from multiple file. The log file name looks like:
N3.2009-11-26-03-05-02.console.log.tar.gz
N4.2009-11-29-00-25-03.console.log.tar.gz
N6.2009-12-01-10-05-02.console.log.tar.gz
I am using the following command:
zgrep -a --text "TEST" * | awk -F"[ .,]" '{sub(".*:","",$6); sub(",.*","",$7); print $1,$6,$7,$10}
and getting
N3 2009-11-25 20:12:57 TEST
N4 2009-11-28 10:42:18 TEST
N6 2009-12-01 10:00:24 TEST
If I only want to search the log file after 2009-11-29, what shall I change the command?
View 1 Replies
View Related
Jun 5, 2010
How to File Share in Ubuntu 10.04 Easily and using GUI's only.Disclaimer: Sharing files in this way is not secure; so please make sure you only do this on a private network that has been properly secured. Otherwise any user on the network can access and modify your shared files; you have been warned!
1. "Applications" menu ->"Ubuntu Software Center" -> in the search box type "Samba" then install "Samba".Because even though you enabled file share and tried to share the files 10.04 seems to not actually install "Samba". Plus this installs the "Samba" GUI.)2. This step was removed to prevent confusion.3."System" menu -> "Administration" -> "Samba". Enter your password. In the GUI that opens up choose "Preferences" menu -> "Server Settings" then the "Security" tab change the authentication mode to share and the guest account to your user name account. This prevents permission problems later on.4. Choose the "Add a Samba Share"; the green plus icon; browse to the directory you wish to share. Place a check mark in "Writable" and "Visible". Then on the "Access" tab choose "Allow access to everyone".
5. Press OK; now your should be able to see the share from the other computers just choose "Places" menu -> "Network" then either the computer name if it shows up or select "Windows Network" -> "WORKGROUP" ->omputer Name then the Shared folder.Quote:2. Share the selected folder via natuilus, right-click on the folder and choose "Sharing Options" or "Properties" -> "Sharing" Tab. This may be an unnecessary step but at least we know Nautilus has applied the proper permissions for us; on the pop-up choose "Automatically Update Permissions".I hope that this helps as many of you as possible. If anyone has any updates please let me know. I am glad to see that this can finally be done all using GUI's now but it still should be as simple as sharing the folder with the "Sharing Options" selection in Nautilus. There is still work to be done on this in Ubuntu.
I am going to jump on Launch Pad and look for all of the bugs that I can find related to these issues and see if I can contribute what I have learned and maybe I can try to organize some of the bugs to get a collective fix in the works. I will post back any updates.Please If you used my method please note this is not the way it is supposed to be done in 10.04 so you are affected by the bug. Please go to this bug and be counted.
View 9 Replies
View Related
Jan 13, 2010
I have been scouring the internet looking for a good solution to reading .pdb eBooks on Linux.It seems that there isn't one.Could you perhaps recommend a good app to either convert the file easily into something readable or (more preferably) an app that can read them?
View 3 Replies
View Related
Oct 29, 2010
find / -newer -10 mtime +30.i want to check only those files which are modified yesterday.
View 1 Replies
View Related
Feb 22, 2010
I am getting little bit difficult in sorting the date ranges which are in a field like:
How make a sort as per the Month and date , i mean result should be as per the month and date wise. If i go for the sort -M , i am not able to get the list as per date of the particular month.
View 4 Replies
View Related
Jan 26, 2011
It only occured to me now, but why is it that date listings are not consistent?
ex:
Code:
They are all Month Day Year but one (from that particular extract, there's more), why is the 3rd there one Month Day Time? I know the year is not 2011 because we have not hit august 2011 yet, but what if it's 2009 or 2008? I would not know.
One of my sites got hacked and I'm just trying to figure out what the hacker got into and trying to figure how he got in so I can fix the exploit.
View 3 Replies
View Related
Oct 6, 2010
I've got rkhunter installed and regularly do scans immediately before & after updates & if I get warnings about 'file property updates' after the update I use 'rkhunter --propupd' to give me a clean run.I'm about to setup a ubuntu computer for my nan, I want to enable automatic security updates so she doesn't have to do anything to keep her system secure. I was planning on running rkhunter when I go to her house (about once a month) and check the dates in the resulting rkhunter.log warnings with those in the var/log/apt/history.log to see if legitimate updates caused any rkhunter warnings. I've noticed though that the 'Current file modifiation time:' in the rkhunter.log warnings are incorrect.
My system seems to be about 15 days behind the actual date, I've now run rkhunter --propupd so I have no warnings but got this one off another forum post to show what I mean:
Current file modification time: 1283341157 (01-Sep-2010 06:39:17)
I believe that the '1283341157' is the time in some strange format and the date in brackets is what rkhunter thinks it might be in human format.
1) How to interpret the 'strange date format' (1283341157 in the line above)?
2) If there's a way of configuring the date in rkhunter so that they're correct in rkhunter.log?
3) If there's a better way of keeping her system up-to-date & secure, it's her first computer & she's 86 so I think setting up automatic security updates is the way to go, it'll be one less thing to overwhelm her!
View 2 Replies
View Related
Dec 22, 2010
I have a requirement where I need to write to a file a block of static text for each month starting from 01-01-2000. It would be something like below
[code]...
View 2 Replies
View Related
Oct 12, 2009
I need to compare 2 dates in european format (dd/mm/yyy). date -d<my date> %s command converts date into unix epoch (integer), thus make it easy to compare. The problem is that -d (or --date) option interprets date in US format-ie mm/dd/yyy.
View 4 Replies
View Related
Mar 20, 2010
All I see from googling examples in awk is converting current date. How do I convert a list of past or future dates for example :
Jan18'09
Aug 7'98
Jun20'11
Apr 1'10
I will be using it to compare dates in a file and act on it accordingly.
View 5 Replies
View Related
Jun 8, 2010
I was going to do a rsync -r -a -z -v -p -e sshto move some files frome server to another, but then realized all I really need are files which have dates starting June 1, 2008 to current. Is there a way to have rsync only sync those files?he directory structure that's my source goes all the way back to 2004.
View 5 Replies
View Related
Aug 3, 2010
A script to generate random dates. It uses the year range 2006-2009, and truncates every month of the year to an ordinary February's 28 days, but otherwise it's pretty solid and safe.
Code:
spate=1
while [ $spate -le 120 ]
[code]....
View 1 Replies
View Related
Feb 21, 2010
I'm new to Ubuntu Linux but have many years on windows platform. Please can someone help me with how to change the following items.
No.1 I would like to change the HORRIBLE!! YAK!! brown background color behind the word Ubuntu in the start up screen when the machine loads up (before the login). I have located the image file for this which I have found to be: /usr/share/images/xsplash/bg_2560x1600. jpg but the OS says that root is the owner and that I don't have permission to change this. So how can I change this for a color I do like.
No.2 I would also like to change the login dialogue screen style. I know this is possible but again I'm fumbling to see how I can do this. I have tried with the start up manager but every attempt fails, the settings don't take. Once again I suspect permissions are at the bottom of the problem?
No.3 Would like to have a colorful splash screen image on boot up, I've managed to remove the old one (small white 3 ring ubuntu logo on black background) but havent been able to install or replace with a new one. Its been incredibly frustrating, I'm feel sure I'm missing something simple here. Wondering if its permissions yet again?
Anyone who can offer help on any of the above, guidance or advise me would be much appreciated. Please bear in mind that I'm still very much feeling my way with Linux so keep it simple.
View 3 Replies
View Related
Aug 5, 2009
What config file do you change to change default run level???
View 3 Replies
View Related
Feb 11, 2011
I issue the command ps -aux | grep tony. It displays the following output
tony 10986 0.0 0.0 33532 464 ? S Feb01 0:00 vncconfig -iconic
tony 10988 0.0 0.0 86012 512 ? S Feb01 0:00 twm
tony 15553 0.0 0.0 92404 1848 ? S 10:34 0:00 sshd: tony@pts/34
[code]....
View 3 Replies
View Related
Jul 13, 2011
I have tried to find the solution for my problem on this site and other sites but haven't found a good enough answer yet. Maybe some of you can help me out here?What i need is a script (bash preferrably) that can delete directories based on a date in its dirname.For example.I have a bunch of directories that is named
data-20110623/
data-20110624/
data-20110625/
[code]...
View 5 Replies
View Related
Mar 29, 2011
I created a script to move files to a "trashbin" This is my code:
Code:
mv $1 /home/giovanni/trashbin
echo "$1 Deleted"
[code]...
View 13 Replies
View Related
Feb 6, 2010
I am having squid proxy server running on OpenSuSe 10.2 I noticed when I generate report it just shows me last date log file.Although /var/log/squid contains logs of all previous dates.I really cant remember which file to modify so that I can see all dates reports in html when I use following command Quote: cat access.log | /home/user/squint-0.3.10/squint.pl /home/user/report<date>
View 9 Replies
View Related
Jun 21, 2010
where I can find a list of Fedora 9 kernel updates (i.e. the updates that come through yum update) along with the dates they were released? I'd like to know when the last kernel I have installed (2.6.25.14-108.fc9.x86_64) was publicly released.
View 4 Replies
View Related
May 15, 2010
I'm writing a loganalysis application and wanted to grab apache log records between two certain dates. Assume that a date is formated as such: 22/Dec/2009:00:19 (day/month/year:hour:minute) Currently, I'm using a regular expression to replace the month name with its numeric value, remove the separators, so the above date is converted to: 221220090019 making a date comparison trivial.. but.. Running a regex on each record for large files, say, one containing a quarter million records, is extremely costly.. is there any other method not involving regex substitution? here's the function doing the convertion/comparison
[Code]...
View 13 Replies
View Related
Jan 26, 2011
We have quite a few SEO clients who require multiple IPs which are all from different class c allocations. (10 - 50 IPs) used for projects lasting weeks to months at a time. Since we don't have connected IPs in ranges we can't use the range scripts but I don't know of a way to easily add a long list of individual IPs. These are CentOS servers, by the way
View 2 Replies
View Related
Dec 15, 2010
Can someone show me a simple method to find out number of days between 2 dates?
Example: How would I find the number of days between 25-12-2003 to 25-12-2010? Could someone write a line of code that takes in the two dates and outputs the number of days? Or is there a program that can do this?
I know of websites that do this but I'd also like an offline method.
View 9 Replies
View Related
Nov 23, 2010
When the computer is on... we assign a date and time... My question 9is how is the system automatically adjusting time when i start my machine even months after...
View 4 Replies
View Related
Jan 6, 2010
I am running webcam under Ubuntu 9.04 and I want to upload the images it captures to a server via ftp and have every image have a date and time in the filename. But I can't get this to work.From reading the man page for webcam it appears that I should be able to specify file = "webcam_%Y-%m-%d_%H:%M:%S.jpeg" and have it parsed so I get something like webcam_2010-01-05_10:54:23.jpeg but webcam is just uploading an image with an unparsed filename. So instead of getting a series of images on the server, I just get the most recent image (with the older images being overwritten every 1800 seconds). I know I could write a script on the server to rename the files as they are uploaded and put it on a cron but this seems to be something webcam should be able to handle.Here is my .webcamrc config file:
[grab]
device = /dev/video0
text = "webcam %Y-%m-%d %H:%M:%S"
[code]...
View 2 Replies
View Related