Ubuntu :: Creation Date For Directories Isn't Stored Or At Least Couldn't Find It?
Feb 19, 2010
i'm trying to make a script that gives one output if a directory in /home is older than one month, and another if the directory is less than one month old. I looked around and saw that the creation date for directories isn't stored, or at least i couldn't find it? How is this possible to do then?
I'm looking for a method for modifying some jpg photo files last modification date with the corresponding timestamp creation date of each file.The reason is that shotwell import pictures in folders according to last modification date which is stupid on my opinion.
I have generated a public key on box 'A' and placed it into the authorized_keys file on box 'B', so a password is not required and the file copies over successfully when the script is run. On to my problem...
I need to know what date the 'dump.23.gz' file was originally created when I'm viewing it after it's been copied to box 'A'. If I ls -l on box 'A' it only shows me the date it was created on box 'A' when it was copied.
What would I need to add to my script to append the backup's original creation date on box 'B' to the filename so that when it gets copied to box 'A' I know when the backup was created on box 'B'. I'm sure this is probably confusing. I've done lots of searching and can only find information on how to append the current date and time to a file name. I need to append it's original creation timestamp to the filename when it copies over.
I am using Ubuntu 9.10 and have been using digikam to get my photos and videos in order. A lot of the creation dates are messed up, but I have been using the "adjust time and date" tool in Digikam to ge the photos set to their correct creation date.
However, when I try to do that on a .mpg or .avi I get an error that reads "Unable to adjust metadata in ****.mpg" I've tried opening the videos in other programs, like avidemux and cinelerra, I even tried opening the properties section of the videos. I haven't been able to find a way to modify the creation date of videos.
Is there a way to change the creation date of videos on Ubuntu? I would prefer to use digikam, but at this point I'm open to anything. Do I need to download a plugin? A program? Use a command line command?
I'm new to UNIX scripting; I�m stuck with the following I have an Oracle SQL script that takes three parameters
1- File Name 2- File Path 3- File creation date
Under UNIX I have a folder where files will be placed frequently and I need to upload those files to Oracle, what I need is a UNIX script that can do the following
Loop through Directory "/home/applmgr/snktmp" Picks only files Pass the file name to parameter &1
Is the above possible? I already knows how to call the Oracle Script from UNIX Im only stuck on writing the UNIX part where it List the files attribute(name,path,date) and store them to parameters ,Looping until the last file in the directory If the above is not possible,then how can I create the below from the command line
Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.
Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?
I'm playing around with iptables on Ubuntu 10.04 Beta2.
That's what I got so far. Accoring to iptables man pages: "/proc/net/ipt_recent/* are the current lists of addresses and information about each entry of each list." There's nothing like that there on my Ubuntu installation. There's a file that's called /proc/net/ip_tables_matches. However, it doesn't contain the information I'm looking for. It contains:
Code: udplite udp tcp recent state icmp
where I can find the file where iptables stores the matching IPs? Also, can anyone verify that I have put the rules in the right order for them to work?
am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
I searched the forum and didn't find any threads that seemed to answer this question. I have a large directory of files, and dozens of subdirectories on a remote box I have ssh access to. I need a subset of these files copied to another folder.
directories parent -sub1 -sub2 -sub3
files I want (the files are all the same format, but some have extensions and others dont) 1100 1215 1322 1442 1500 1512
Unfortunately, I need a lot of files, and plan to do this on a regular basis (the files I need will be different each time) I was thinking it would be nice to be able to put the filenames in a text file (one filename per line) and use the find command to copy the files (I don't necessarily know which subdirectory the file will be in).
I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.
I'm probably doing something stupid, but I thought I'd ask here, because I'm stumped. I'm on slackware 12.2, KDE 3.5 and AIR 2.02.When Echofon abruptly stopped linux support, I switched to tweetdeck (v. 0.34.3.2). It worked great, and they recently pushed a new update. I installed it, deleted the ELS directory in ~/.appdata/Adobe/AIR, and it was unable to find any stored data in kwalletmanager. (I got the error that it wasn't able to find any stored data and that AIR isn't installed properly--the error one gets when tweetdeck is started without kwalletmanager running.)
I deleted the entry in kwalletmanager for AIR, deleted the ELS directory again, and restarted it. Same error, and no new entry in kwalletmanager was made. I downgraded to the previous version (0.32.3.2), and it worked perfectly once more.
How to find the filesize of a flash which is not exactly stored in the temp but redirected by a fd. flash31 -> /tmp/FlashXXvsg1uY (deleted) directory is /proc/processid Chrome is downloading a flash and I can see in the proc directory the flash file, How can I see the current file size of such a file ?
When I clall the "update manager" it tells me if my system is up-to-date or new updates are available. Lets assume I update my system now (I disabled automatic updates).
Then (in a couple of days or weeks) I start the Update Manager again and it tells me again that new updates available. How can I find out now when the last time was when my system was "up-to-date" (=when a complete, successful update took place)?
Is there soemwhere an entry which shows this date?
I'm new to linux, have been somewhat of a computer geek my whole life and thought it about time that I delved into the world of linux. So I installed ubuntu 10.04 on my computer. I love it. However, I can't get my wireless to work. In my dorms there are no ethernet hookups, so I have to use the wireless. I typed "sudo lshw -class network" into the root terminal. The important things that I figured out was the bus info: pci@0000:4:06.0 and the pysical id: 6 (not sure if the physical id is important but it sounds like it is). I then did a lspci and found that at bus 04:06.0 it is a RaLink Device 3060. I downloaded the .tar file for the driver. I could not find instructions for it online so I followed the ones for the rt2860 driver : [URL].... I could not get it to work, It built ok and installed ok, but when I do the modprobe I get an error saying the device or resource is busy. Either that or that it cannot be found. One thing that I found weird was that I couldn't get it to build a 3060 driver, it would only build a 3562 one.
I have ubuntu intrepid installed in one of the amazon servers , when i try to install any software using apt-get i used to get the following error.Code: E: Couldn't find package E: Some index files failed to download, they have been ignored, or old ones used instead.
I am having issues with 3d I am trying to start up a game called auteria but it displays this error "Could not find a compatible opengl display resolution. Please check your driver configuration. (Error: Couldn't find a matching GLX visual)" I am on ubuntu 10.10 could anybody give me a solution on how to fix this issue?
I need a script that will take all the files in a given directory and create new monthly sub-directories and sort all the files based on the creation date into the appropriate directory.For example, all files created between 01/01/09 and 01/31/09 will be placed in 'JAN-2009'
I have machine that I used to VNC to on my network with Remote Desktop Viewer from my Fedora 12. When I first connected I checked the checkbox that I wanted to store the pw. Now the pw on the other machine has changed but Remote Desktop Viewer does not ask for a new password, it just gives me a black screen, like I am connected but I can't see anything. I'd like to know if anyone knows where this pw data is stored on the system so I can start fresh. I already tried uninstalling Remote Desktop Viewer and installing it again.
I did a full install of 9.10 on my Dell Inspirion 1200 laptop & use a Dell 1350 card, after several posts and replies I went to [URL]and followed the instructions for Ubuntu/Debian. This is the result I get....
mike@mike-laptop:~$ sudo apt-get install b43-fwcutter [sudo] password for mike: Reading package lists... Done Building dependency tree
I followed this procedure before installation (live CD) and it successfully found and installed the firmware. Apparently it was saved in live CD. What do I need to do?