Go to advanced search

by doubleudee1
Fri Oct 04, 2019 10:51 am
Forum: Beginners
Topic: How will I Know [Are the directories created on my HDD and all files being put onto it]
Replies: 21
Views: 1214

How will I Know [Are the directories created on my HDD and all files being put onto it]

Well, this is not Whitney, but.......... I have setup my new HDD as below pi@raspberrypi:~ $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 3.7T 0 disk └─sda1 8:1 0 3.7T 0 part /pi/mnt/CamFiles mmcblk0 179:0 0 29.9G 0 disk ├─mmcblk0p1 179:1 0 1.3G 0 part ├─mmcblk0p2 179:2 0 512B 0 part ├─mm...
by doubleudee1
Wed Oct 02, 2019 9:30 am
Forum: Troubleshooting
Topic: Finding symlinks - command to?
Replies: 4
Views: 339

Re: Finding symlinks - command to?

Sorry, no output with that command.
by doubleudee1
Wed Oct 02, 2019 9:26 am
Forum: Troubleshooting
Topic: Finding symlinks - command to?
Replies: 4
Views: 339

Re: Finding symlinks - command to?

The find utility kind of can do that, but some of it depends on your file system. Take a look at -newer XY and use the m and t options there, if the B option is not supported. find . -type l -not -newermt 2019-10-01 -newermt 2019-09-01 -ls However, that gets the modification times. Would that be cl...
by doubleudee1
Wed Oct 02, 2019 8:49 am
Forum: Troubleshooting
Topic: Finding symlinks - command to?
Replies: 4
Views: 339

Finding symlinks - command to?

Hi If I use this command :- find . -type l -ls I get results such as:- z 662821 0 lrwxrwxrwx 1 root root 8 Feb 28 2019 ./usr/share/man/man1/gtbl.1.gz -> tbl.1.gz 663259 0 lrwxrwxrwx 1 root root 10 Jan 5 2019 ./usr/share/man/man1/zfgrep.1.gz -> zgrep.1.gz 664194 0 lrwxrwxrwx 1 root root 12 Apr 27 13:...
by doubleudee1
Mon Sep 30, 2019 2:59 pm
Forum: Beginners
Topic: HDD not showing?
Replies: 10
Views: 358

Re: HDD not showing?

FYI the links I made are:-

~CamFiles =
ln -s /mnt/CCTV/ ~CamFiles

~CamFiles2 =
ln -s /home/pi/CamFiles/ ~CamFiles2
by doubleudee1
Mon Sep 30, 2019 2:51 pm
Forum: Beginners
Topic: HDD not showing?
Replies: 10
Views: 358

Re: HDD not showing?

Of the two links below, only one works? the other does nothing, The working lnk '~CamFiles2' puts files into ' /home/pi/CamFiles/' successsfully, but the other link '~CamFiles' doen't work and the files in '/mnt/CCTV/' are not updated????????? ls -la total 364 drwxr-xr-x 18 pi pi 4096 Sep 30 15:35 ....
by doubleudee1
Mon Sep 30, 2019 2:18 pm
Forum: Beginners
Topic: HDD not showing?
Replies: 10
Views: 358

Re: HDD not showing?

This is what is showing after running those comands pi@raspberrypi:~ $ ls -la total 364 drwxr-xr-x 18 pi pi 4096 Sep 30 14:17 . drwxr-xr-x 3 root root 4096 Jul 10 01:07 .. -rw------- 1 pi pi 44117 Sep 30 13:55 .bash_history -rw-r--r-- 1 pi pi 220 Jul 10 01:07 .bash_logout -rw-r--r-- 1 pi pi 3523 Jul...
by doubleudee1
Mon Sep 30, 2019 2:01 pm
Forum: Beginners
Topic: HDD not showing?
Replies: 10
Views: 358

Re: HDD not showing?

your HDD is there alright, located at /mnt/CCTV also designated as /dev/sda1 (according to df -h) ok one other way to have the HDD showup on desktop go to file manager locate /mnt/CCTV left click on the /mnt/CCTV folder and drag it to the desktop Caution: if the HDD is not mounted properly, clickin...
by doubleudee1
Mon Sep 30, 2019 1:36 pm
Forum: Beginners
Topic: HDD not showing?
Replies: 10
Views: 358

Re: HDD not showing?

have you checked if its mounted properly? check the outputs of lsusb lsblk blkid then df -h Here's the results:- lsusb Bus 001 Device 004: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge Bus 001...
by doubleudee1
Mon Sep 30, 2019 1:12 pm
Forum: Beginners
Topic: HDD not showing?
Replies: 10
Views: 358

Re: HDD not showing?

Right click anywhere on desktop select Desktop preferences on Desktop tab, make sure there is a check on [ ] Mounted Disk click OK done It is already ticked, I un-ticked it and then ticked it again but the disk doesn't appear? The wastebasket is there, and also if I tick the 'folders' box, they app...
by doubleudee1
Mon Sep 30, 2019 12:06 pm
Forum: Beginners
Topic: HDD not showing?
Replies: 10
Views: 358

HDD not showing?

No laughing please! How do I get my external HDD to show up as an icon on the desktop (raspbian, loaded through NOOBS) on my pi, I did have it showing before I had to rebuild, but it's not showing now? my fstab loads it like this:- /dev/sda1 /mnt/CCTV ntfs-3g defaults,users,nofail 0 0
by doubleudee1
Fri Sep 27, 2019 12:20 pm
Forum: Troubleshooting
Topic: Crontab runs some comands inside but not others?
Replies: 5
Views: 317

Re: Crontab runs some comands inside but not others?

OK, a couple of problems I had to rectify. The main one, my pi was full and so I had to create some space by using various methods/coding. 1. the HDD had been mounted automatically by pi to /home/pi/CCTVDISK, and I had then created a directory from my login (pi) as CCTVDISK. 2. I then created a syml...
by doubleudee1
Thu Sep 26, 2019 2:58 pm
Forum: Troubleshooting
Topic: Crontab runs some comands inside but not others?
Replies: 5
Views: 317

Re: Crontab runs some comands inside but not others?

RaTTuS wrote:
Thu Sep 26, 2019 1:56 pm
cat /var/log/syslog and look at the CRON lines ? anything of note ?
I'm going to look at that now.

Thanks both
by doubleudee1
Thu Sep 26, 2019 2:57 pm
Forum: Troubleshooting
Topic: Crontab runs some comands inside but not others?
Replies: 5
Views: 317

Re: Crontab runs some comands inside but not others?

Lets take this one as an example 15 * * * * /home/pi/ExecFiles/CreatejpgDirsR.sh first off this will run your script at 15 mins past the hour every hour, 24/7. so i that what you were expecting it to do ? secondly you need to capture some output from the process including any error messages so you ...
by doubleudee1
Thu Sep 26, 2019 1:41 pm
Forum: Troubleshooting
Topic: Crontab runs some comands inside but not others?
Replies: 5
Views: 317

Crontab runs some comands inside but not others?

I am running this crontab:- # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task # # To define the time you can provide concrete values f...
by doubleudee1
Wed Sep 25, 2019 4:07 pm
Forum: Beginners
Topic: Symlink question
Replies: 1
Views: 127

Symlink question

I have a new HDD on my pi which is mounted on '/media/pi/CCTVDisk' I have created a directory on my pi in '/home/pi/CCTVDisk' what would be the code for the symlink for me to see the files and be sure they are moving off my pi and onto the HDD as the link I've tried sudo ln -s /media/pi/CCTVDisk CCT...
by doubleudee1
Wed Sep 25, 2019 1:50 pm
Forum: Troubleshooting
Topic: Just a question? Reformatting an HD
Replies: 9
Views: 519

Re: Just a question? Reformatting an HD

I usually plug a "suspect drive" into an RPi (3B, 3B+) and see if it can be detected. if not then I'll try to initialize it if cannot initialize then I conclude its dead if can initialize, proceed to initialization then use gparted to format the drive if gparted cannot format the drive I conclude i...
by doubleudee1
Tue Sep 24, 2019 5:08 pm
Forum: Troubleshooting
Topic: Just a question? Reformatting an HD
Replies: 9
Views: 519

Re: Just a question?

Thanks, I've tried putting into my pc (win 10) but that doesn't see it. then it means there is something wrong with the PC end - is it enabled in the BIOS ? what does windows see via computer management is it powered ? how is it connected I have tried removing one of my existing HDD inside my pc an...
by doubleudee1
Mon Sep 23, 2019 2:30 pm
Forum: Troubleshooting
Topic: Just a question? Reformatting an HD
Replies: 9
Views: 519

Re: Just a question?

Thanks, I've tried putting into my pc (win 10) but that doesn't see it.
by doubleudee1
Mon Sep 23, 2019 2:06 pm
Forum: Troubleshooting
Topic: Just a question? Reformatting an HD
Replies: 9
Views: 519

Just a question? Reformatting an HD

Does anyone know of any way I can convert my old 1 TB HDD which is formatted in Linux back to ntfs or anything windows 10 will read?
by doubleudee1
Sat Sep 21, 2019 8:07 am
Forum: Troubleshooting
Topic: Crontab Question
Replies: 7
Views: 246

Re: Crontab Question

OK, Thanks to all for the replies. it has enlightened me somewhat but I am 'up and running' now so all's good.

WD
by doubleudee1
Fri Sep 20, 2019 4:21 pm
Forum: Troubleshooting
Topic: Crontab Question
Replies: 7
Views: 246

Re: Crontab Question

OK, no probs, copied out all the commands and just ran cronta -e and was presented with one for pi which I used and saved.
Now when I run crontab -e, it opens my crontab file.
by doubleudee1
Fri Sep 20, 2019 4:09 pm
Forum: Troubleshooting
Topic: Crontab Question
Replies: 7
Views: 246

Re: Crontab Question

But will it run for pi (me) as I have written all the commands I want done in it and just saved it (ctrl + x then 'y' and [enter])
by doubleudee1
Fri Sep 20, 2019 3:51 pm
Forum: Troubleshooting
Topic: Crontab Question
Replies: 7
Views: 246

Crontab Question

I always log in as pi. So i logged in and went to create a Crontab but what I got was:- pi@raspberrypi:~ $ sudo crontab -e no crontab for root - using an empty one crontab: installing new crontab So I carried on and created it anyway, then I did this:- pi@raspberrypi:~ $ crontab -l no crontab for pi...
by doubleudee1
Tue Sep 17, 2019 11:00 am
Forum: Beginners
Topic: how do I give pi ownership of this folder?
Replies: 5
Views: 342

Re: how do I give pi ownership of this folder?

sorry, CCTV_In isn't a directory, it's an external HDD, also the '~CCTV_In' is a symlink'

Go to advanced search