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?

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Replace Jpg Files Last Modification Date With Timestamp Creation Date?

Sep 22, 2010

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.

View 2 Replies View Related

Ubuntu :: List Files By Creation Date?

Aug 19, 2010

I'm looking for a terminal command that gives me the latest created folder in a directory tree.

Code:

ls -lR --sort=time --reverse

this i almost good, but a) it gives me files (rather than folders only), b) it sorts the files by folder (rather than just giving me a plain list of everything) and c) it takes way to long.

what i want:

Code:

2010-08-01 ./path/to/folder/a
2010-08-03 ./path/to/folder/b
2010-08-06 ./another/folder/c

[code]....

View 9 Replies View Related

Fedora :: Rename JPG Files To Creation Date

Sep 2, 2009

I have a list of .jpg files from two cellphones that I would like to rename to the file creation date... but so far I can't seem to find a suitable script (or anything remotely close to what I need).

These are jpg's snapped on cellphone cameras, so no EXIF data exists.

View 4 Replies View Related

General :: Directories That Often Stored On Their Own Partitions?

Jun 14, 2011

What directories are often stored on their own partitions?

View 2 Replies View Related

General :: Adding A Files Creation Date To It's File Name?

Sep 17, 2010

I have some basic experiencing creating simple scripts/making directories/changing permissions/etc. but I'm stumped on this one.

I have two linux boxes. I have a script set up on box 'A' to SCP into box 'B', grab a copy of a database backup and store it on box 'A'. It looks like this:

scp root@X.X.X.X:/blah/blah/blah/dump.23.gz /home/blah/DB_Backups/

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.

View 10 Replies View Related

General :: Merge Files By Creation / Modification Date?

Oct 4, 2010

I have a folder with hundreds of .txt files (logs of some java application) that I have to merge in to one single .txt file. This application produces a new log file everyday:

day1: logFriday10September2010.txt
day2: logSaturday11September2010.txt
...
day8: logFriday17September2010.txt
...
and so on...

I could merge the files easily with "cat" and ">>" however, the problem is that I have to do it by taking into account the date (creation or modification) of the file.

If I simple use the cat command the output file will receive for example, all Fridays in a row, then all Saturdays, etc. and in that way I'm not considering the date.

I've searched for the options of the find command, since the files after creation are not modified...I try to use this for example:

$ find . -newer <some old file>

but that lists me all files after that <old file> and not by correct date.

View 5 Replies View Related

Software :: Change Creation Date Of .mpg / .avi Videos In Digikam?

Feb 16, 2010

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?

View 4 Replies View Related

General :: What Kinds Of Files Are Stored In The Directories

Mar 12, 2010

3.State what kinds of files are stored in the following directories. Give any ONE file that can be found in these directories.

a. /etc/
b. /proc/
c. /sbin/

View 2 Replies View Related

Programming :: Writing Unix Shell Script To Pass File Name/path/creation Date?

Oct 7, 2009

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

[code]....

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

Filename{concatenation Mark}filePath{concatenation Mark}creationdate
Filename{concatenation Mark}filePath{concatenation Mark}creationdate
Filename{concatenation Mark}filePath{concatenation Mark}creationdate
Filename{concatenation Mark}filePath{concatenation Mark}creationdate

View 4 Replies View Related

General :: Selectively Tar Based On Date Just The Innermost Directories Of A Single Directory?

Jul 28, 2009

selectively archive the subdirectories of a single parent directory in which said subdirectories have creation year-date 2008 and older.

View 5 Replies View Related

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

Jun 19, 2010

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?

View 10 Replies View Related

Ubuntu Security :: Iptables - Where To Find IP's That's Stored With RECENT

Apr 18, 2010

I'm playing around with iptables on Ubuntu 10.04 Beta2.

[Code]....

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?

View 3 Replies View Related

General :: Find A File In Directories Without Using Find Command?

Aug 3, 2010

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.

View 14 Replies View Related

Ubuntu :: Find Command For Multiple Filenames Stored In List?

May 3, 2011

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.

Example:

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).

[Code]...

View 2 Replies View Related

General :: Where To Find Address Book And Stored Emails In Ubuntu 9.04

Sep 24, 2010

I have just upgraded to Ubuntu 10.4 and I need to get my Address Book and saved emails from earlier version.Can someone please tell me where they will be located

View 8 Replies View Related

Ubuntu :: Desktop Icons Creation And Panel Content Creation After Login Getting Slower

Nov 17, 2010

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.

View 1 Replies View Related

Software :: Unable To Find Any Stored Data In Kwalletmanager

Oct 6, 2010

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.

View 1 Replies View Related

General :: How To Find Size Of Flash File Not Stored In Temp

Apr 8, 2011

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 ?

View 1 Replies View Related

Ubuntu :: Find Out The Last "up-to-date" Date For "Update Manager"?

Jul 31, 2010

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?

View 1 Replies View Related

Ubuntu :: E: Couldn't Find Package Build?

Jun 27, 2010

When I type this command ;sudo apt-get install build essentialI got this ;

Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]...

View 2 Replies View Related

Ubuntu :: Couldn't Find Package Updates

Jul 29, 2010

I had installed Ubuntu server 10.04 and i am trying to install Webmin for GUI.
When i start with "sudo apt-get install update" the following gets displayed...

Reading package list... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package updates

I had configured correct IP address and i am connected with internet. After googling for some time i figured out that missing repository could cause such problem, which i am not sure.

View 9 Replies View Related

Ubuntu :: E: Couldn't Find Package Libmp3lame-dev?

Sep 8, 2010

I'm newbie in ubuntu and trying to install ffmpeg but there's an error which i couldn't figure out.E: Couldn't find package libmp3lame-devi'm trying somethings according to this article;[URl]

View 7 Replies View Related

Ubuntu :: Couldn't Find Instructions Online

Oct 25, 2010

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.

View 3 Replies View Related

Ubuntu :: Apt-get Error / E / Couldn't Find Package

Apr 26, 2011

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.

View 5 Replies View Related

Ubuntu :: Error "Could Not Find A Compatible Opengl Display Resolution. Please Check Your Driver Configuration. (Error: Couldn't Find A Matching GLX Visual)"

Jul 22, 2011

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?

View 5 Replies View Related

Programming :: Sort Files In Directories Based On Files Date

Sep 8, 2009

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'

View 5 Replies View Related

Fedora :: Where Are Stored PWs For Remote Desktop Viewer Stored?

Oct 20, 2010

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.

View 1 Replies View Related

Ubuntu Installation :: Couldn't Find Package Amaya?

Jan 29, 2010

Code:
$ uname -a
Linux MyBox 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 21:27:25 UTC 2009 x86_64 GNU/Linux

[code]...

View 3 Replies View Related

Ubuntu Networking :: E: Couldn't Find Package B43-fwcutter

Mar 6, 2010

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

[code]....

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?

View 2 Replies View Related







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