GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Create, Delate, Move, Copy Directories and files

silon10.ev Spanisch

Inhalt der Mindmap

Create, Delate, Move, Copy Directories and files

  1. To create a new directory use the mkdir command

    • -m option to specify permissions on the new directory
    • -p option to create any necessary parentdirectories without generating errors. This means you could create a directory called /files/data even if the /files directory did not exist
    • -v option to get verbose output from the mkdir command
  2. To remove a directory use the rmdir command

    • -p option to remove the specified directory's parents
    • -R only use with thr rm command and remove recursively the contents of a specified directory including subdirectories
    • --ignore-fail-on-non-empty this force command to delet the directory anyway, and you lose the files it contained
  3. cp command to copy files cp [opc] source_file|source_dir target

    • -f option to force copy operation, even if it means overwriting exixting files, non confirmation
    • -i option to run the copy operation in interactive mode. You have to confirm in every copy or overwrite
    • -p option to run copy operation in preserve mode, preserves group, ID's, file flags, and modification times
  4. mv command move files and directories from one location to another mv [opc] source_file|source_dir target

    • -f option to force copy operation, even if it means overwriting exixting files, non confirmation
    • -i option to run the copy operation in interactive mode. You have to confirm in every copy or overwrite
  5. mvdir to move directories mvdir source_dir target

  6. tar command can create archives, update their contents, and extract files from them

    • -A to append the contents of a tarfile to the end of another. only its contents move
    • -c To create a new tarfile and write files to it
    • -d to ascertain the difference between files in a tarfile and the matching data structure still on disk
    • -r to append files to the end of an existing tarfile
    • -t to list the entirecontents of a tarfile. If you specify a filename argument with t, tar lists only those files you're looking for
    • -u to update the contents of a tarfile if the files it is based on have been modified since the tarfile was created
    • -x to extract all of the files from a tarfile if you specify a filename argument with -x, tar extracts only those files you're looking for
    • Compress the contents o an archive by passing the tar
      • -y option to filter the archive through the bzip2 command
      • -z option to filter the archive through the gzip command
      • -Z option to filter the archive through the compress command

Informationen

Beschreibung
Mindmap am Create, Delate, Move, Copy Directories and files, erstellt von silon10.ev am 31/07/2015.
Erstellt von
silon10.ev
Aufrufe
1
Bewertung

Mehr zu Linux File Management and Permissions

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck